Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751570AbdITIkL (ORCPT ); Wed, 20 Sep 2017 04:40:11 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:49862 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751284AbdITIkJ (ORCPT ); Wed, 20 Sep 2017 04:40:09 -0400 X-Google-Smtp-Source: AOwi7QBqfvQfXTV7jLVlUDQY5AhRwexqiEN750GuQ27PDeCmwTKotAn6tDVu0zb8L5IRN0/gTIvu8A== From: Miklos Szeredi To: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Al Viro , David Howells Subject: [PATCH 00/10] honor AT_STATX_DONT_SYNC in netfs Date: Wed, 20 Sep 2017 10:39:55 +0200 Message-Id: <1505896805-12055-1-git-send-email-mszeredi@redhat.com> X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1257 Lines: 35 This is pretty simple to do: all netfs getattr implementations consist of two phases: 1) refresh attributes 2) fill in kstat We just need to omit the first phase if this flag is given. --- Miklos Szeredi (10): ceph: honor AT_STATX_DONT_SYNC cifs: honor AT_STATX_DONT_SYNC coda: honor AT_STATX_DONT_SYNC fuse: honor AT_STATX_DONT_SYNC gfs2: honor AT_STATX_DONT_SYNC lustre: honor AT_STATX_DONT_SYNC nfs: honor AT_STATX_DONT_SYNC ocfs2: honor AT_STATX_DONT_SYNC orangefs: honor AT_STATX_DONT_SYNC 9p: honor AT_STATX_DONT_SYNC drivers/staging/lustre/lustre/llite/file.c | 12 +++++++----- fs/9p/vfs_inode.c | 4 +++- fs/9p/vfs_inode_dotl.c | 3 ++- fs/ceph/inode.c | 6 ++++-- fs/cifs/inode.c | 30 ++++++++++++++++-------------- fs/coda/inode.c | 5 ++++- fs/fuse/dir.c | 9 +++++---- fs/gfs2/inode.c | 3 ++- fs/nfs/inode.c | 6 +++++- fs/ocfs2/file.c | 12 +++++++----- fs/orangefs/inode.c | 6 ++++-- 11 files changed, 59 insertions(+), 37 deletions(-) -- 2.5.5