Linux-SCSI Archive mirror
 help / color / mirror / Atom feed
* fix stacking of sd-imposed max_sectors
@ 2024-05-23 18:26 Christoph Hellwig
  2024-05-23 18:26 ` [PATCH 1/2] sd: also set max_user_sectors when setting max_sectors Christoph Hellwig
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Christoph Hellwig @ 2024-05-23 18:26 UTC (permalink / raw
  To: Jens Axboe; +Cc: Martin K. Petersen, Mike Snitzer, linux-block, linux-scsi

Hi Jens,

this series fixes a regression in 6.10-rc report by Mike when using
device mapper multipath on top of SCSI disks.  It is due the sd
driver not only setting the hard max_dev_sectors limit but also
pre-setting a potentially lower max_sectors value.

Diffstat:
 block/blk-settings.c |    2 ++
 drivers/scsi/sd.c    |    4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

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

end of thread, other threads:[~2024-05-28 12:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-23 18:26 fix stacking of sd-imposed max_sectors Christoph Hellwig
2024-05-23 18:26 ` [PATCH 1/2] sd: also set max_user_sectors when setting max_sectors Christoph Hellwig
2024-05-23 18:53   ` Martin K. Petersen
2024-05-24  7:51     ` Christoph Hellwig
2024-05-23 18:26 ` [PATCH 2/2] block: stack max_user_sectors Christoph Hellwig
2024-05-23 18:54   ` Martin K. Petersen
2024-05-28 12:57 ` fix stacking of sd-imposed max_sectors Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).