summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2020-10-07 21:35:08 +0900
committerJens Axboe <axboe@kernel.dk>2020-10-07 08:22:15 -0600
commitfe6f0cdc49263ae61cd3d33399662808c2398e86 (patch)
treed53971e8ace0c8dba96ad12d5cbe3847250153da /block
parenta926c7afffcc0f2e35e6acbccb16921bacf34617 (diff)
downloadlinux-fe6f0cdc49263ae61cd3d33399662808c2398e86.tar.bz2
block: soft limit zone-append sectors as well
Martin rightfully noted that for normal filesystem IO we have soft limits in place, to prevent them from getting too big and not lead to unpredictable latencies. For zone append we only have the hardware limit in place. Cap the max sectors we submit via zone-append to the maximal number of sectors if the second limit is lower. Reported-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Link: https://lore.kernel.org/linux-btrfs/yq1k0w8g3rw.fsf@ca-mkp.ca.oracle.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions