Re: [PATCH 2/4] blk-wbt: account any writing command as a write

2018-05-08 Thread Omar Sandoval
On Mon, May 07, 2018 at 10:13:33AM -0600, Jens Axboe wrote: > 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 Reviewed-by: Omar Sandoval

Re: [PATCH 2/4] blk-wbt: account any writing command as a write

2018-05-07 Thread Darrick J. Wong
On Mon, May 07, 2018 at 10:13:33AM -0600, Jens Axboe wrote: > 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 > Signed-off-by: Jens Axboe

[PATCH 2/4] blk-wbt: account any writing command as a write

2018-05-07 Thread Jens Axboe
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 Signed-off-by: Jens Axboe --- block/blk-wbt.c | 2 +- 1 file changed, 1