[PATCH 0/1] second wave bcache fixes for Linux v4.21

2018-12-25 Thread Coly Li
Hi Jens, We have one more patch, which is a fix to avoid unnecessary bogus failure on staled and dirty btree key of bcache. This bogus failure does not always happen, but when it happens, bcache code will take it as critical failure and call bch_cache_set_error(), which may stop the cache set and

[PATCH 1/1] bcache: treat stale && dirty keys as bad keys

2018-12-25 Thread Coly Li
From: Tang Junhui Stale && dirty keys can be produced in the follow way: After writeback in write_dirty_finish(), dirty keys k1 will replace by clean keys k2 ==>ret = bch_btree_insert(dc->disk.c, &keys, NULL, &w->key); ==>btree_insert_fn(struct btree_op *b_op, struct btree *b) ==>static int bch_b

[PATCH v4] block: add documentation for io_timeout

2018-12-25 Thread Weiping Zhang
Add documentation for /sys/block//queue/io_timeout. Signed-off-by: Weiping Zhang --- Documentation/ABI/testing/sysfs-block | 9 + Documentation/block/queue-sysfs.txt | 7 +++ 2 files changed, 16 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/

Re: [PATCH v3] block: add documentation for io_timeout

2018-12-25 Thread Weiping Zhang
Bart Van Assche 于2018年12月7日周五 上午12:22写道: > > On Wed, 2018-12-05 at 22:17 +0800, Weiping Zhang wrote: > > +Description: > > + io_timeout is a request’s timeouts at block layer in > > + milliseconds. When the underlying driver starts processing > > + a request, th