Re: [PATCH 2/2] ext4: implement cgroup writeback support

From: Chris Mason
Date: Wed Sep 23 2015 - 13:29:27 EST


On Wed, Sep 23, 2015 at 03:49:12PM +0300, Artem Bityutskiy wrote:
> On Tue, 2015-07-21 at 23:56 -0400, Theodore Ts'o wrote:
> > > v2: Updated for MS_CGROUPWB -> SB_I_CGROUPWB.
> > >
> > > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> > > Cc: "Theodore Ts'o" <tytso@xxxxxxx>
> > > Cc: Andreas Dilger <adilger.kernel@xxxxxxxxx>
> > > Cc: linux-ext4@xxxxxxxxxxxxxxx
> >
> > Thanks, applied.
>
> Hi, this patch introduces a regression - a major one, I'd say.
>
> Symptoms: copy a bunch of file, run sync, then run 'reboot', and after
> you boot up the copied files are corrupted. So basically the user
> -visible symptom is that 'sync' does not work.

Hi Artem,

Are you doing a hard shutdown (reboot -nf)? If you're doing a friendly
shutdown, is the FS unmounting cleanly?

>
> I quite an effort to bisect it, but it led me to this patch.

I bet it was a long bisect. Trying to see if the same patch to btrfs
has similar impacts.

-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/