summaryrefslogtreecommitdiffstats
path: root/block/blk-wbt.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-05-03 09:14:57 -0600
committerJens Axboe <axboe@kernel.dk>2018-05-08 15:10:49 -0600
commit825843b0adb7c95e8cbab35e6fee64980e29ade8 (patch)
tree7f23ce098fc82a30c295db0627f4a5767ae0a572 /block/blk-wbt.h
parentaf097f5d199e2aa3ab3ef777f0716e487b8f7b08 (diff)
downloadlinux-0-day-825843b0adb7c95e8cbab35e6fee64980e29ade8.tar.gz
blk-wbt: account any writing command as a write
We currently special case WRITE and FLUSH, but we should really just include any command with the write bit set. This ensures that we account DISCARD. Reviewed-by: Christoph Hellwig <hch@lst.de> 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