Re: [PATCH 02/19] bcache: fix sequential large write IO bypass

2017-07-05 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH 02/19] bcache: fix sequential large write IO bypass

2017-06-30 Thread bcache
From: Tang Junhui Sequential write IOs were tested with bs=1M by FIO in writeback cache mode, these IOs were expected to be bypassed, but actually they did not. We debug the code, and find in check_should_bypass(): if (!congested && mode == CACHE_MODE_WRITEBACK && op_is_write(

[PATCH 02/19] bcache: fix sequential large write IO bypass

2017-06-30 Thread Tang Junhui
Sequential write IOs were tested with bs=1M by FIO in writeback cache mode, these IOs were expected to be bypassed, but actually they did not. We debug the code, and find in check_should_bypass(): if (!congested && mode == CACHE_MODE_WRITEBACK && op_is_write(bio_op(bio)) &&

[PATCH 02/19] bcache: fix sequential large write IO bypass

2017-06-30 Thread Tang Junhui
Sequential write IOs were tested with bs=1M by FIO in writeback cache mode, these IOs were expected to be bypassed, but actually they did not. We debug the code, and find in check_should_bypass(): if (!congested && mode == CACHE_MODE_WRITEBACK && op_is_write(bio_op(bio)) &&