Re: bcache super block corruption with non 4k pages

2016-08-04 Thread Stefan Bader
On 28.07.2016 18:27, Stefan Bader wrote: > On 28.07.2016 07:55, Kent Overstreet wrote: >> On Wed, Jul 27, 2016 at 05:16:36PM +0200, Stefan Bader wrote: >>> So here is another attempt which does half the proposed changes. And before >>> you >>> point out that it looks still ugly, let me explain som

Re: bcache super block corruption with non 4k pages

2016-07-28 Thread Stefan Bader
On 28.07.2016 07:55, Kent Overstreet wrote: > On Wed, Jul 27, 2016 at 05:16:36PM +0200, Stefan Bader wrote: >> So here is another attempt which does half the proposed changes. And before >> you >> point out that it looks still ugly, let me explain some reasons. The goal >> for me >> would be to h

Re: bcache super block corruption with non 4k pages

2016-07-27 Thread Kent Overstreet
On Wed, Jul 27, 2016 at 05:16:36PM +0200, Stefan Bader wrote: > So here is another attempt which does half the proposed changes. And before > you > point out that it looks still ugly, let me explain some reasons. The goal for > me > would be to have something as small as possible to be acceptable

Re: bcache super block corruption with non 4k pages

2016-07-27 Thread Stefan Bader
On 26.07.2016 14:49, Kent Overstreet wrote: > On Tue, Jul 26, 2016 at 02:32:31PM +0200, Stefan Bader wrote: >> On 26.07.2016 12:21, Kent Overstreet wrote: >>> On Tue, Jul 26, 2016 at 11:51:25AM +0200, Stefan Bader wrote: On 21.07.2016 10:58, Stefan Bader wrote: > I was pointed at the threa

Re: bcache super block corruption with non 4k pages

2016-07-26 Thread Kent Overstreet
On Tue, Jul 26, 2016 at 02:32:31PM +0200, Stefan Bader wrote: > On 26.07.2016 12:21, Kent Overstreet wrote: > > On Tue, Jul 26, 2016 at 11:51:25AM +0200, Stefan Bader wrote: > >> On 21.07.2016 10:58, Stefan Bader wrote: > >>> I was pointed at the thread which seems to address the same after > >>> I

Re: bcache super block corruption with non 4k pages

2016-07-26 Thread Stefan Bader
On 26.07.2016 12:21, Kent Overstreet wrote: > On Tue, Jul 26, 2016 at 11:51:25AM +0200, Stefan Bader wrote: >> On 21.07.2016 10:58, Stefan Bader wrote: >>> I was pointed at the thread which seems to address the same after >>> I wrote most of below text. Did not want to re-write this so please >>> b

Re: bcache super block corruption with non 4k pages

2016-07-26 Thread Kent Overstreet
On Tue, Jul 26, 2016 at 11:51:25AM +0200, Stefan Bader wrote: > On 21.07.2016 10:58, Stefan Bader wrote: > > I was pointed at the thread which seems to address the same after > > I wrote most of below text. Did not want to re-write this so please > > bear with the odd layout. > > > > https://www.r

Re: bcache super block corruption with non 4k pages

2016-07-26 Thread Stefan Bader
On 21.07.2016 10:58, Stefan Bader wrote: > I was pointed at the thread which seems to address the same after > I wrote most of below text. Did not want to re-write this so please > bear with the odd layout. > > https://www.redhat.com/archives/dm-devel/2016-June/msg00015.html > > Zhengyuan tries t