From: Jan Kara Subject: Re: [PATCH] Revert "writeback: do not sync data dirtied after sync start" Date: Sat, 22 Feb 2014 02:04:36 +0100 Message-ID: <20140222010436.GB21405@quack.suse.cz> References: <1392978601-18002-1-git-send-email-jack@suse.cz> <20140221115742.04f893323ce6f9d693212787@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Kara , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Dave Chinner To: Andrew Morton Return-path: Content-Disposition: inline In-Reply-To: <20140221115742.04f893323ce6f9d693212787@linux-foundation.org> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Fri 21-02-14 11:57:42, Andrew Morton wrote: > On Fri, 21 Feb 2014 11:30:01 +0100 Jan Kara wrote: > > > This reverts commit c4a391b53a72d2df4ee97f96f78c1d5971b47489. Dave > > Chinner has reported the commit may cause some > > inodes to be left out from sync(2). This is because we can call > > redirty_tail() for some inode (which sets i_dirtied_when to current time) > > after sync(2) has started or similarly requeue_inode() can set > > i_dirtied_when to current time if writeback had to skip some pages. The > > real problem is in the functions clobbering i_dirtied_when but fixing > > that isn't trivial so revert is a safer choice for now. > > > > Signed-off-by: Jan Kara > > No cc:stable? The patch is applicable to 3.13.x. Ah, forgot about it. Thanks for the reminder! Honza -- Jan Kara SUSE Labs, CR -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org