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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 30.03.21 um 18:17 schrieb Christoph Hellwig:
> 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@xxxxxx>
> ---
>  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 +++---
>  drivers/block/zram/zram_drv.c         | 18 ++++++-------
>  drivers/block/zram/zram_drv.h         |  2 +-
>  drivers/md/md.h                       |  6 ++---
>  drivers/s390/block/dasd_genhd.c       |  8 +++---

For dasd:

Acked-by: Stefan Haberland <sth@xxxxxxxxxxxxx>

Thanks,
Stefan







[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux