Message ID | 20200430224700.4183-2-allison.henderson@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=AYd8=6O=vger.kernel.org=linux-xfs-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2DAD4913 for <patchwork-linux-xfs@patchwork.kernel.org>; Thu, 30 Apr 2020 22:49:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 167D7207DD for <patchwork-linux-xfs@patchwork.kernel.org>; Thu, 30 Apr 2020 22:49:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="Wx9EM7hw" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727896AbgD3WtJ (ORCPT <rfc822;patchwork-linux-xfs@patchwork.kernel.org>); Thu, 30 Apr 2020 18:49:09 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:45066 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727068AbgD3WtH (ORCPT <rfc822;linux-xfs@vger.kernel.org>); Thu, 30 Apr 2020 18:49:07 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03UMmvL6132896 for <linux-xfs@vger.kernel.org>; Thu, 30 Apr 2020 22:49:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : in-reply-to : references; s=corp-2020-01-29; bh=J7weyPy+kIAaPev1PRsv9g8oTOryjuDEs9kXNMtq4tg=; b=Wx9EM7hw+hgYODIupaC/UpDsQUP8ER5ipnNICXetWFq9mKEYIcQNkZiYAjIo/FP3Y13p 8kEPKx6WkVvOAxFfOsym7wIcBNlQwzWZYvIUcQVIwX43TT5iJikbbH2rPtCfvqJi+yKv jmfq0cTJYmAtr0GcGPTG83TP4JIK8qOULDN9A9eFF6IqNVhfw9n8IC7Og3hmwZIYk8+M ruLyetYL/RDHMmp1Vq0sflE1lOV38ldsAB6MnHUT+MX9olM4PaMC0JhcabYRWYwpLcER eqq8KXCuKOQRG7x+PqEF7tWHEDukaDvtmCrRstBNTV/KvljtJNm8vPAxIbulebRII/u7 AQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 30r7f3g2ap-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <linux-xfs@vger.kernel.org>; Thu, 30 Apr 2020 22:49:06 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03UMgtJu076927 for <linux-xfs@vger.kernel.org>; Thu, 30 Apr 2020 22:47:06 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 30r7f89ytv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <linux-xfs@vger.kernel.org>; Thu, 30 Apr 2020 22:47:06 +0000 Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 03UMl50S012274 for <linux-xfs@vger.kernel.org>; Thu, 30 Apr 2020 22:47:05 GMT Received: from localhost.localdomain (/67.1.142.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 30 Apr 2020 15:47:05 -0700 From: Allison Collins <allison.henderson@oracle.com> To: linux-xfs@vger.kernel.org Subject: [PATCH v9 01/43] xfsprogs: remove the ATTR_INCOMPLETE flag Date: Thu, 30 Apr 2020 15:46:18 -0700 Message-Id: <20200430224700.4183-2-allison.henderson@oracle.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200430224700.4183-1-allison.henderson@oracle.com> References: <20200430224700.4183-1-allison.henderson@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9607 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=1 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004300167 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9607 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 suspectscore=1 phishscore=0 mlxlogscore=999 impostorscore=0 spamscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004300167 Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: <linux-xfs.vger.kernel.org> X-Mailing-List: linux-xfs@vger.kernel.org |
Series |
xfsprogs: Delay Ready Attributes
|
expand
|
diff --git a/libxfs/xfs_attr.h b/libxfs/xfs_attr.h index 4243b22..71bcf12 100644 --- a/libxfs/xfs_attr.h +++ b/libxfs/xfs_attr.h @@ -36,11 +36,10 @@ struct xfs_attr_list_context; #define ATTR_KERNOTIME 0x1000 /* [kernel] don't update inode timestamps */ #define ATTR_KERNOVAL 0x2000 /* [kernel] get attr size only, not value */ -#define ATTR_INCOMPLETE 0x4000 /* [kernel] return INCOMPLETE attr keys */ #define ATTR_ALLOC 0x8000 /* [kernel] allocate xattr buffer on demand */ #define ATTR_KERNEL_FLAGS \ - (ATTR_KERNOTIME | ATTR_KERNOVAL | ATTR_INCOMPLETE | ATTR_ALLOC) + (ATTR_KERNOTIME | ATTR_KERNOVAL | ATTR_ALLOC) #define XFS_ATTR_FLAGS \ { ATTR_DONTFOLLOW, "DONTFOLLOW" }, \ @@ -51,7 +50,6 @@ struct xfs_attr_list_context; { ATTR_REPLACE, "REPLACE" }, \ { ATTR_KERNOTIME, "KERNOTIME" }, \ { ATTR_KERNOVAL, "KERNOVAL" }, \ - { ATTR_INCOMPLETE, "INCOMPLETE" }, \ { ATTR_ALLOC, "ALLOC" } /* @@ -123,6 +121,7 @@ typedef struct xfs_attr_list_context { * error values to the xfs_attr_list caller. */ int seen_enough; + bool allow_incomplete; ssize_t count; /* num used entries */ int dupcnt; /* count dup hashvals seen */