mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 16:53:20 -04:00
s390/dasd: Optimize max blocks per request for track alignment
With 4096-byte blocks a full ECKD track holds exactly 12 records. Lower DASD_ECKD_MAX_BLOCKS from 190 to 180 so requests align to track boundaries (15 full tracks); full-track I/O is more efficient than partial-track writes, and 190 had no alignment significance and could let a request cross a track boundary. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Link: https://patch.msgid.link/20260805111612.1285190-6-sth@linux.ibm.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
dc3e3f7306
commit
e647f351da
@@ -131,7 +131,7 @@
|
||||
/*
|
||||
* Maximum number of blocks to be chained
|
||||
*/
|
||||
#define DASD_ECKD_MAX_BLOCKS 190
|
||||
#define DASD_ECKD_MAX_BLOCKS 180
|
||||
#define DASD_ECKD_MAX_BLOCKS_RAW 256
|
||||
|
||||
/*****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user