mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 14:43:42 -04:00
block: rename and document BLK_DEF_MAX_SECTORS
Give BLK_DEF_MAX_SECTORS a _CAP postfix and document what it is used for. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20231227092305.279567-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
3d77976c3a
commit
d6b9f4e6f7
@@ -1056,7 +1056,14 @@ enum blk_default_limits {
|
||||
BLK_SEG_BOUNDARY_MASK = 0xFFFFFFFFUL,
|
||||
};
|
||||
|
||||
#define BLK_DEF_MAX_SECTORS 2560u
|
||||
/*
|
||||
* Default upper limit for the software max_sectors limit used for
|
||||
* regular file system I/O. This can be increased through sysfs.
|
||||
*
|
||||
* Not to be confused with the max_hw_sector limit that is entirely
|
||||
* controlled by the driver, usually based on hardware limits.
|
||||
*/
|
||||
#define BLK_DEF_MAX_SECTORS_CAP 2560u
|
||||
|
||||
static inline unsigned long queue_segment_boundary(const struct request_queue *q)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user