Message ID | 20190114084811.14455-1-jack@suse.cz (mailing list archive) |
---|---|
Headers | show |
Series | blkdev: Fix livelock when loop device updates capacity | expand |
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.