Re: [PATCH 1/2] Fix a crash when block device is read and block size is changed at the same time

2012-11-16 Thread Jeff Moyer
Mikulas Patocka writes: > blockdev: fix a crash when block size is changed and I/O is issued > simultaneously > > The kernel may crash when block size is changed and I/O is issued > simultaneously. Mikulas, do you plan to submit a variant of this for stable as well? Cheers, Jeff -- To

Re: [PATCH 1/2] Fix a crash when block device is read and block size is changed at the same time

2012-11-16 Thread Jeff Moyer
Mikulas Patocka mpato...@redhat.com writes: blockdev: fix a crash when block size is changed and I/O is issued simultaneously The kernel may crash when block size is changed and I/O is issued simultaneously. Mikulas, do you plan to submit a variant of this for stable as well? Cheers, Jeff

Re: [PATCH 1/2] Fix a crash when block device is read and block size is changed at the same time

2012-09-25 Thread Jens Axboe
On 2012-09-26 00:49, Mikulas Patocka wrote: > Here I'm resending it as two patches. The first one uses existing > semaphore, the second converts it to RCU-based percpu semaphore. Thanks, applied. In the future, please send new patch 'series' as a new thread instead of replying to some email in

[PATCH 1/2] Fix a crash when block device is read and block size is changed at the same time

2012-09-25 Thread Mikulas Patocka
On Tue, 25 Sep 2012, Jens Axboe wrote: > On 2012-09-25 19:59, Jens Axboe wrote: > > On 2012-09-25 19:49, Jeff Moyer wrote: > >> Jeff Moyer writes: > >> > >>> Mikulas Patocka writes: > >>> > Hi Jeff > > Thanks for testing. > > It would be interesting ... what happens

[PATCH 1/2] Fix a crash when block device is read and block size is changed at the same time

2012-09-25 Thread Mikulas Patocka
On Tue, 25 Sep 2012, Jens Axboe wrote: On 2012-09-25 19:59, Jens Axboe wrote: On 2012-09-25 19:49, Jeff Moyer wrote: Jeff Moyer jmo...@redhat.com writes: Mikulas Patocka mpato...@redhat.com writes: Hi Jeff Thanks for testing. It would be interesting ... what happens if you

Re: [PATCH 1/2] Fix a crash when block device is read and block size is changed at the same time

2012-09-25 Thread Jens Axboe
On 2012-09-26 00:49, Mikulas Patocka wrote: Here I'm resending it as two patches. The first one uses existing semaphore, the second converts it to RCU-based percpu semaphore. Thanks, applied. In the future, please send new patch 'series' as a new thread instead of replying to some email in the