Message ID | 154226191127.13280.11230106325764595480.stgit@magnolia (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-xfs-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CEEF417F3 for <patchwork-linux-xfs@patchwork.kernel.org>; Thu, 15 Nov 2018 06:05:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC0092B4CE for <patchwork-linux-xfs@patchwork.kernel.org>; Thu, 15 Nov 2018 06:05:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B01F82C198; Thu, 15 Nov 2018 06:05:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9FC902C194 for <patchwork-linux-xfs@patchwork.kernel.org>; Thu, 15 Nov 2018 06:05:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728140AbeKOQLl (ORCPT <rfc822;patchwork-linux-xfs@patchwork.kernel.org>); Thu, 15 Nov 2018 11:11:41 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:48046 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726574AbeKOQLk (ORCPT <rfc822;linux-xfs@vger.kernel.org>); Thu, 15 Nov 2018 11:11:40 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wAF64PYe148825 for <linux-xfs@vger.kernel.org>; Thu, 15 Nov 2018 06:05:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : from : to : cc : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=L/BtnvVX7jnZvWoe9Z0d0VQvDZLubDZHEj5ZsJpClBo=; b=FyD3wHf0WSGe2IrNY4b3Puh8lxvovlk2pwsAeW99ZjaDnwY0M8na2u33gqWDjgMhVZhO 16bjaGsfB907GlKIR7LcgplMo9mkTBxHTQnbwUwwe/ZfavMNfOcHBEmnMZjvA3q5hTIY 9cKWbnPJVw8I2UGkaaKQ6pbb4avUEhyb0HoSX9d2Ts/qVVHFGQN/zzzE8Fyt1HTAsW7R XxneicMaFCdZjLQUBZmBMu8Gvv1XK17kxwEfvavg/89Ey1p/JYgOVAqvLkw2T7JgNyY8 dn7ovLpYdGVRHqgQqYQ/AnHHYZG/lov0TRo9XqmA/msST/qDIrb1bxIqdsLMyXD6l8jz lQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2nr7cs7jmm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <linux-xfs@vger.kernel.org>; Thu, 15 Nov 2018 06:05:13 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wAF65Caq002839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <linux-xfs@vger.kernel.org>; Thu, 15 Nov 2018 06:05:12 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id wAF65CV4023823 for <linux-xfs@vger.kernel.org>; Thu, 15 Nov 2018 06:05:12 GMT Received: from localhost (/10.159.153.160) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 14 Nov 2018 22:05:12 -0800 Subject: [PATCH 8/9] xfs: abort xattr scrub if fatal signals are pending From: "Darrick J. Wong" <darrick.wong@oracle.com> To: darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org Date: Wed, 14 Nov 2018 22:05:11 -0800 Message-ID: <154226191127.13280.11230106325764595480.stgit@magnolia> In-Reply-To: <154226186169.13280.4536602352984659736.stgit@magnolia> References: <154226186169.13280.4536602352984659736.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9077 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811150055 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: <linux-xfs.vger.kernel.org> X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
xfs-5.0: inode btree scrub fixes
|
expand
|
diff --git a/fs/xfs/scrub/attr.c b/fs/xfs/scrub/attr.c index 81d5e90547a1..9960bc5b5d76 100644 --- a/fs/xfs/scrub/attr.c +++ b/fs/xfs/scrub/attr.c @@ -82,6 +82,11 @@ xchk_xattr_listent( sx = container_of(context, struct xchk_xattr, context); + if (xchk_should_terminate(sx->sc, &error)) { + context->seen_enough = 1; + return; + } + if (flags & XFS_ATTR_INCOMPLETE) { /* Incomplete attr key, just mark the inode for preening. */ xchk_ino_set_preen(sx->sc, context->dp->i_ino);