Re: de-duplicate the block sysfs code

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

 



On Thu, 27 Jun 2024 13:14:00 +0200, Christoph Hellwig wrote:
> this series adds a few helpers to de-duplicate the block sysfs code,
> and then switches it to operate on then gendisk, which is the object that
> the kobject is embedded into.
> 
> Diffstat:
>  block/blk-sysfs.c      |  389 ++++++++++++++++++-------------------------------
>  block/elevator.c       |    9 -
>  block/elevator.h       |    4
>  include/linux/blkdev.h |    7
>  4 files changed, 156 insertions(+), 253 deletions(-)
> 
> [...]

Applied, thanks!

[1/3] block: simplify queue_logical_block_size
      (no commit info)
[2/3] block: add helper macros to de-duplicate the queue sysfs attributes
      (no commit info)
[3/3] block: pass a gendisk to the queue_sysfs_entry methods
      (no commit info)

Best regards,
-- 
Jens Axboe







[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux