Return-Path: Received: from mail-yw0-f174.google.com ([209.85.161.174]:35336 "EHLO mail-yw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752175AbdC2Pli (ORCPT ); Wed, 29 Mar 2017 11:41:38 -0400 Received: by mail-yw0-f174.google.com with SMTP id d191so13422740ywe.2 for ; Wed, 29 Mar 2017 08:41:38 -0700 (PDT) From: Martin Brandenburg To: hubcap@omnibond.com, linux-fsdevel@vger.kernel.org Cc: Martin Brandenburg Subject: [PATCH v2 0/2] orangefs: implement statx Date: Wed, 29 Mar 2017 11:41:11 -0400 Message-Id: <1490802073-7414-1-git-send-email-martin@omnibond.com> In-Reply-To: <1490730587-12661-1-git-send-email-martin@omnibond.com> References: <1490730587-12661-1-git-send-email-martin@omnibond.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: The last version had a problem with xfstests generic/130, generic/169, generic/246, generic/309, and generic/393. Other code, namely orangefs_setattr_size (truncate), looks at i_size without knowledge that it was never set. This doesn't make decisions whether to actually do the truncate based on the possibly not set (or stale!) i_size. I'm still not entirely happy with it though. I feel like we may be missing other code which looks at i_size. Martin Brandenburg (2): orangefs: implement statx orangefs: do not check possibly stale size on truncate fs/orangefs/file.c | 6 +++-- fs/orangefs/inode.c | 18 ++++++++----- fs/orangefs/namei.c | 3 +++ fs/orangefs/orangefs-kernel.h | 4 ++- fs/orangefs/orangefs-utils.c | 63 +++++++++++++++++++++++++++++-------------- 5 files changed, 64 insertions(+), 30 deletions(-) -- 2.1.4