commit | af097f5d199e2aa3ab3ef777f0716e487b8f7b08 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue May 08 15:09:41 2018 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue May 08 15:10:44 2018 -0600 |
tree | c93cd4dcadcadf206d7889a3d071450900137b0f | |
parent | d3349b6b3c373ac1fbfb040b810fcee5e2adc7e0 [diff] |
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>