Re: [PULL] Re: bcache stability patches

2015-12-30 Thread Denis Bychkov
fstat is small and we all > want someone to pull it in and get it into mainline. This would serve > many people if this can get pulled in upstream. > > More below: > > On Tue, 22 Dec 2015, Denis Bychkov wrote: >> There is a set of bcache stability patches elevating bcache sta

BCACHE stability patches

2015-12-22 Thread Denis Bychkov
ot;CACHED_LABEL=%s", buf); - if (atomic_xchg(&dc->running, 1)) + if (atomic_xchg(&dc->running, 1)) { + kfree(env[1]); + kfree(env[2]); return; + } if (!d->c && BDEV_STATE(&dc->sb) != BDEV_STATE_NONE) { From: Denis Bychkov Allows to use register, not reg

4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2015-11-08 Thread Denis Bychkov
The only started in 4.3 kernel (at least RC-5), 4.2.x does not have this problem. The kernel panic happens immediately after the SDHC card is inserted, reproducibility is 100%. If the system boots up with the card already inserted, it will crash as soon as sdhci_pci module is loaded. If the module

Re: [PATCH] bcache: Fix writeback_thread never writing back incomplete stripes.

2015-09-18 Thread Denis Bychkov
t; On Thu, Sep 17, 2015 at 11:30:17AM -0400, Denis Bychkov wrote: >> > Well, it turns out my celebration was a bit premature. >> > >> > PLEASE, DO NOT APPLY THE PATCH POSTED BY KENT (not the one Vojtech >> > posted) ON A PRODUCTION SYSTEM, IT CAUSES DATA CORR

Re: [PATCH] bcache: Fix writeback_thread never writing back incomplete stripes.

2015-09-17 Thread Denis Bychkov
does it? On Thu, Sep 17, 2015 at 2:31 PM, Kent Overstreet wrote: > On Thu, Sep 17, 2015 at 08:40:54AM -0800, Kent Overstreet wrote: >> On Thu, Sep 17, 2015 at 11:30:17AM -0400, Denis Bychkov wrote: >> > Well, it turns out my celebration was a bit premature. >> > >>

Re: [PATCH] bcache: Fix writeback_thread never writing back incomplete stripes.

2015-09-17 Thread Denis Bychkov
. On Wed, Sep 16, 2015 at 5:08 PM, Denis Bychkov wrote: > Hi Kent, Vojtech, list > > Your fix works perfectly, I can finally remove my patch that disables > the partial_stripes_expensive branch and unleash the full bcache > performance on my RAID-6 array. I was aware of this problem

Re: [PATCH] bcache: Fix writeback_thread never writing back incomplete stripes.

2015-09-16 Thread Denis Bychkov
Hi Kent, Vojtech, list Your fix works perfectly, I can finally remove my patch that disables the partial_stripes_expensive branch and unleash the full bcache performance on my RAID-6 array. I was aware of this problem for some time now, but never got to learning the bcache codebase enough to find