linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* don't take s_umount under open_mutex
@ 2023-10-17 18:48 Christoph Hellwig
  2023-10-17 18:48 ` [PATCH 1/5] block: simplify bdev_del_partition() Christoph Hellwig
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: Christoph Hellwig @ 2023-10-17 18:48 UTC (permalink / raw)
  To: Christian Brauner, Al Viro, Jens Axboe
  Cc: Jan Kara, Denis Efremov, linux-block, linux-fsdevel

Hi all,

Christian has been pestering Jan and me a bit about finally fixing
all the pre-existing mostly theoretical cases of s_umount taken under
open_mutex.  This series, which is mostly from him with some help from
me should get us to that goal by replacing bdev_mark_dead calls that
can't ever reach a file system holder to call into with simple bdev
page invalidation.

Expect future version to come from Christian again, I'm just helping
out while he is trouble shooting his mail setup.

Diffstat:
 block/disk-events.c     |   18 +++++++-----------
 block/genhd.c           |    7 +++++++
 block/partitions/core.c |   43 +++++++++++++++++++++++++++++--------------
 drivers/block/ataflop.c |    4 +++-
 drivers/block/floppy.c  |    4 +++-
 fs/super.c              |    2 ++
 6 files changed, 51 insertions(+), 27 deletions(-)

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

end of thread, other threads:[~2023-10-19 11:27 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-17 18:48 don't take s_umount under open_mutex Christoph Hellwig
2023-10-17 18:48 ` [PATCH 1/5] block: simplify bdev_del_partition() Christoph Hellwig
2023-10-18  2:33   ` Ming Lei
2023-10-17 18:48 ` [PATCH 2/5] block: WARN_ON_ONCE() when we remove active partitions Christoph Hellwig
2023-10-18  2:36   ` Ming Lei
2023-10-19  8:31   ` Jan Kara
2023-10-17 18:48 ` [PATCH 3/5] block: move bdev_mark_dead out of disk_check_media_change Christoph Hellwig
2023-10-18  3:16   ` Ming Lei
2023-10-18  6:46     ` Christoph Hellwig
2023-10-18  9:15       ` Ming Lei
2023-10-18 12:10         ` Christoph Hellwig
2023-10-18  9:24   ` Christian Brauner
2023-10-19  5:57     ` Christoph Hellwig
2023-10-19  7:24       ` Christian Brauner
2023-10-19  8:34   ` Jan Kara
2023-10-17 18:48 ` [PATCH 4/5] block: assert that we're not holding open_mutex over blk_report_disk_dead Christoph Hellwig
2023-10-18  3:18   ` Ming Lei
2023-10-19  8:43   ` Jan Kara
2023-10-17 18:48 ` [PATCH 5/5] fs: assert that open_mutex isn't held over holder ops Christoph Hellwig
2023-10-18  9:53   ` Ming Lei
2023-10-19  8:43   ` Jan Kara
2023-10-19  9:35 ` don't take s_umount under open_mutex Christian Brauner
2023-10-19 11:27   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).