Skip to content

block: don't forget user settings

Keith Busch linux-block 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 8 repliesApplied
  2. v32 patches 3 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2block: make BLK_DEF_MAX_SECTORS unsignedblock/blk-settings.c drivers/block/null_blk/main.c include/linux/blkdev.h+4 -43 replies
2/2block: save user max_sectors limitDocumentation/ABI/stable/sysfs-block block/blk-settings.c block/blk-sysfs.c +1 more+25 -94 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBart Van AsscheChristoph HellwigMartin K. Petersen
1/2R-b R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCHv4 0/2] block: don't forget user settings

From: Keith Busch <[email protected]>

If the user overrides the max sectors for their device (which is currently defaulting to quite a low value for modern hardware), their request is lost on a rescan. Save it and fix the weird type issues.

Changes since v3: Fixed the unsigned long/unsigned int issue raised by clang.

Keith Busch (2):
block: make BLK_DEF_MAX_SECTORS unsigned
block: save user max_sectors limit

 Documentation/ABI/stable/sysfs-block |  3 ++-
 block/blk-settings.c                 |  9 +++++++--
 block/blk-sysfs.c                    | 21 +++++++++++++++------
 drivers/block/null_blk/main.c        |  3 +--
 include/linux/blkdev.h               |  4 +++-
 5 files changed, 28 insertions(+), 12 deletions(-)
Signature · 1 line
2.30.2