Re: [PATCH 0/2] blkdev: Fix livelock when loop device updates capacity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/14/19 1:48 AM, Jan Kara wrote:
> Hello,
> 
> this series fixes a long standing issue with loop device which can change block
> device size under a mounted filesystem which causes infinite loop inside buffer
> head code. See patch 2/2 for details about the problem.
> 
> Note that generally it is dangerous to resize the loop device when filesystem
> is mounted on top of it. However there are some valid use cases for this (such
> as growing the loop device and then increasing the filesystem size) so we
> cannot just restrict the functionality to exclusive owners of the device.

That's really a shame...

Anyway, applied for 5.0, thanks Jan.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux