From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:42244 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752183AbcFEU4C (ORCPT ); Sun, 5 Jun 2016 16:56:02 -0400 Subject: Patch "xfs: skip stale inodes in xfs_iflush_cluster" has been added to the 3.14-stable tree To: dchinner@redhat.com, bfoster@redhat.com, david@fromorbit.com, gregkh@linuxfoundation.org, hch@lst.de Cc: , From: Date: Sun, 05 Jun 2016 13:56:01 -0700 Message-ID: <146516016181218@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled xfs: skip stale inodes in xfs_iflush_cluster to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: xfs-skip-stale-inodes-in-xfs_iflush_cluster.patch and it can be found in the queue-3.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 7d3aa7fe970791f1a674b14572a411accf2f4d4e Mon Sep 17 00:00:00 2001 From: Dave Chinner Date: Wed, 18 May 2016 13:54:23 +1000 Subject: xfs: skip stale inodes in xfs_iflush_cluster From: Dave Chinner commit 7d3aa7fe970791f1a674b14572a411accf2f4d4e upstream. We don't write back stale inodes so we should skip them in xfs_iflush_cluster, too. Signed-off-by: Dave Chinner Reviewed-by: Brian Foster Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner Signed-off-by: Greg Kroah-Hartman --- fs/xfs/xfs_inode.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -2925,6 +2925,7 @@ xfs_iflush_cluster( */ spin_lock(&iq->i_flags_lock); if (!iq->i_ino || + __xfs_iflags_test(iq, XFS_ISTALE) || (XFS_INO_TO_AGINO(mp, iq->i_ino) & mask) != first_index) { spin_unlock(&iq->i_flags_lock); continue; Patches currently in stable-queue which might be from dchinner@redhat.com are queue-3.14/xfs-xfs_iflush_cluster-fails-to-abort-on-error.patch queue-3.14/xfs-fix-inode-validity-check-in-xfs_iflush_cluster.patch queue-3.14/xfs-skip-stale-inodes-in-xfs_iflush_cluster.patch