summaryrefslogtreecommitdiffstats
path: root/block/blk-wbt.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-05-08 15:09:41 -0600
committerJens Axboe <axboe@kernel.dk>2018-05-08 15:10:44 -0600
commitaf097f5d199e2aa3ab3ef777f0716e487b8f7b08 (patch)
treec93cd4dcadcadf206d7889a3d071450900137b0f /block/blk-wbt.h
parentd3349b6b3c373ac1fbfb040b810fcee5e2adc7e0 (diff)
downloadlinux-0-day-af097f5d199e2aa3ab3ef777f0716e487b8f7b08.tar.gz
linux-0-day-af097f5d199e2aa3ab3ef777f0716e487b8f7b08.tar.xz
block: break discard submissions into the user defined size
Don't build discards bigger than what the user asked for, if the user decided to limit the size by writing to 'discard_max_bytes'. Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.h')
0 files changed, 0 insertions, 0 deletions