Re: [PATCH 3/8] block: move bd_mutex to struct gendisk

From
Roger Pau Monné <hidden>
Date
2021-05-28 07:35:10
Also in
linux-raid, linux-s390, linux-scsi
Reply to
Christoph Hellwig, 2021-05-25
On Tue, May 25, 2021 at 08:12:56AM +0200, Christoph Hellwig wrote:
Replace the per-block device bd_mutex with a per-gendisk open_mutex,
thus simplifying locking wherever we deal with partitions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 Documentation/filesystems/locking.rst |  2 +-
 block/genhd.c                         |  7 ++---
 block/partitions/core.c               | 24 ++++++++---------
 drivers/block/loop.c                  | 14 +++++-----
 drivers/block/xen-blkfront.c          |  8 +++---
Acked-by: Roger Pau Monné <redacted>

Thanks, Roger.
Thread (25 messages) 25 messages, 5 authors, last reply 2021-06-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help