All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] null_blk cleanup and device naming improvements
@ 2022-04-19 11:00 Damien Le Moal
  2022-04-19 11:00 ` [PATCH 1/4] block: null_blk: Fix code style issues Damien Le Moal
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Damien Le Moal @ 2022-04-19 11:00 UTC (permalink / raw)
  To: Jens Axboe, linux-block; +Cc: Josef Bacik

The first 3 patches of this series are simple code cleanups.

The last patch changes the device naming scheme for devices created
through configfs: the configfs device directory name is used as the disk
name. This name is also checked against potentially exiting nullb
devices created during modprobe when the nr_device module option is not
0.

This series falls short of pre-populating configfs with directories
corresponding to the devices created during modprobe as this is not
easily feasible. However, the added device name check avoids mistakes by
users about reusing configfs names already used by existing devices.

Damien Le Moal (4):
  block: null_blk: Fix code style issues
  block: null_blk: Cleanup device creation and deletion
  block: null_blk: Cleanup messages
  block: null_blk: Improve device creation with configfs

 drivers/block/null_blk/main.c  | 113 +++++++++++++++++++++++----------
 drivers/block/null_blk/zoned.c |  14 ++--
 2 files changed, 85 insertions(+), 42 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-04-20  0:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 11:00 [PATCH 0/4] null_blk cleanup and device naming improvements Damien Le Moal
2022-04-19 11:00 ` [PATCH 1/4] block: null_blk: Fix code style issues Damien Le Moal
2022-04-19 11:00 ` [PATCH 2/4] block: null_blk: Cleanup device creation and deletion Damien Le Moal
2022-04-19 11:00 ` [PATCH 3/4] block: null_blk: Cleanup messages Damien Le Moal
2022-04-19 14:00   ` Johannes Thumshirn
2022-04-19 20:58     ` Damien Le Moal
2022-04-19 11:00 ` [PATCH 4/4] block: null_blk: Improve device creation with configfs Damien Le Moal
2022-04-19 11:55   ` Jens Axboe
2022-04-19 20:58     ` Damien Le Moal
2022-04-19 23:13       ` Damien Le Moal
2022-04-20  0:17         ` Jens Axboe
2022-04-20  0:47           ` Damien Le Moal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.