All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] blkdev: Fix livelock when loop device updates capacity
@ 2019-01-14  8:48 Jan Kara
  2019-01-14  8:48 ` [PATCH 1/2] nbd: Use set_blocksize() to set device blocksize Jan Kara
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Jan Kara @ 2019-01-14  8:48 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Josef Bacik, Tetsuo Handa, Jan Kara

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.

								Honza

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-15 14:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14  8:48 [PATCH 0/2] blkdev: Fix livelock when loop device updates capacity Jan Kara
2019-01-14  8:48 ` [PATCH 1/2] nbd: Use set_blocksize() to set device blocksize Jan Kara
2019-01-14  8:48 ` [PATCH 2/2] blockdev: Fix livelocks on loop device Jan Kara
2019-01-14  8:48 ` [PATCH] loop: Add test for changing capacity when filesystem is mounted Jan Kara
     [not found]   ` <f3988910-5c64-2ab4-a4e8-8255d72458b1@i-love.sakura.ne.jp>
     [not found]     ` <20190114104119.GE13316@quack2.suse.cz>
2019-01-14 10:50       ` Jan Kara
2019-01-14 19:10         ` Chaitanya Kulkarni
2019-01-15  7:39           ` Jan Kara
2019-01-15 14:31 ` [PATCH 0/2] blkdev: Fix livelock when loop device updates capacity Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.