Thread (21 messages) 21 messages, 5 authors, 2021-04-08

Re: [PATCH 10/15] block: move bd_mutex to struct gendisk

flat view

From: Roger Pau Monné <hidden>
Date: 2021-04-01 08:33:34
Also in: linux-block, linux-s390, linux-scsi

On Tue, Mar 30, 2021 at 06:17:22PM +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                         |  3 ++-
 block/partitions/core.c               | 22 +++++++---------
 drivers/block/loop.c                  | 14 +++++-----
 drivers/block/xen-blkfront.c          |  8 +++---
For xenblkfront:

Acked-by: Roger Pau Monné <redacted>

Thanks, Roger.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help