From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: [PATCH 2/2] ext4: implement cgroup writeback support Date: Wed, 23 Sep 2015 13:25:35 -0400 Message-ID: <20150923172535.GC25218@ret.masoncoding.com> References: <1434495193-31182-1-git-send-email-tj@kernel.org> <1434495193-31182-3-git-send-email-tj@kernel.org> <20150722035620.GD2944@thunk.org> <1443012552.19983.209.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=facebook; bh=EeuX9SiR65Ikze61mQ3yRmUBI2kp8KwUusGbutOYzGU=; b=VHt+Fgrq1d4E+wfTqna003xhU6vHARaN4P8C65S7Pw19oCiPmxdBtgcTadC6sZcEihB6 0qxDGkPKeAHW+FPQCR2JJQcbBzJj52hEDms1lG5KK/rQvMHqMoobRWNAajrI/VVq5TLI B/FVdbptiHqz+WaAUaDGmt1pp31GB5TdV60= Content-Disposition: inline In-Reply-To: <1443012552.19983.209.camel@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Content-Transfer-Encoding: 7bit To: Artem Bityutskiy Cc: Theodore Ts'o , Tejun Heo , axboe@kernel.dk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, lizefan@huawei.com, cgroups@vger.kernel.org, hannes@cmpxchg.org, kernel-team@fb.com, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org 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 > > > Cc: "Theodore Ts'o" > > > Cc: Andreas Dilger > > > Cc: linux-ext4@vger.kernel.org > > > > 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