]> git.itanic.dy.fi Git - linux-stable/commit
aoe: don't abuse BLK_DEF_MAX_SECTORS
authorChristoph Hellwig <hch@lst.de>
Wed, 27 Dec 2023 09:23:03 +0000 (09:23 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Dec 2023 17:46:01 +0000 (10:46 -0700)
commit3888b2ee6262616dbcbf902bc171963fe345da87
treedbafabc0a309f0798ad5e261902e3f8d3dcf924d
parent9a9525de865410047fa962867b4fcd33943b206f
aoe: don't abuse BLK_DEF_MAX_SECTORS

BLK_DEF_MAX_SECTORS despite the confusing name is the default cap for
the max_sectors limits.  Don't use it to initialize max_hw_setors, which
is a hardware / driver capacility.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231227092305.279567-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoeblk.c