From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752926AbcFVOhl (ORCPT ); Wed, 22 Jun 2016 10:37:41 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:36994 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752281AbcFVOfR (ORCPT ); Wed, 22 Jun 2016 10:35:17 -0400 From: Miklos Szeredi To: Al Viro Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Yan, Zheng" , Steve French , OGAWA Hirofumi , Trond Myklebust Subject: [PATCH 0/8] remove d_time from dentry Date: Wed, 22 Jun 2016 16:35:02 +0200 Message-Id: <1466606110-24297-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 dentry->d_time is not used by the VFS anymore, it's essentially a fs-private data. And it just wastes space in the dentry for the vast majority of filesystems. This series moves the few uses to ->d_fsdata. Introduce ->d_allocate() method to make it easier to allocate fs specific structure together with the dentry. --- Miklos Szeredi (8): vfs: new d_allocate method ceph: don't use ->d_time cifs: don't use ->d_time vfat: don't use ->d_time fuse: don't use ->d_time nfs: don't use ->d_time ncpfs: don't use ->d_time vfs: remove ->d_time Documentation/filesystems/Locking | 2 ++ Documentation/filesystems/vfs.txt | 3 +++ fs/ceph/dir.c | 6 +++--- fs/ceph/inode.c | 4 ++-- fs/ceph/mds_client.c | 4 ++-- fs/ceph/super.h | 2 +- fs/cifs/cifsfs.h | 10 ++++++++++ fs/cifs/dir.c | 6 +++--- fs/cifs/inode.c | 2 +- fs/dcache.c | 11 +++++++++++ fs/fat/namei_vfat.c | 19 +++++++++++++++---- fs/fuse/dir.c | 36 ++++++++++++++++-------------------- fs/ncpfs/dir.c | 21 ++++++++++++++++++--- fs/ncpfs/ncplib_kernel.h | 16 +++++++++++++--- fs/nfs/dir.c | 18 ++++++++++++++---- fs/nfs/getroot.c | 4 ++-- fs/nfs/namespace.c | 2 +- fs/nfs/unlink.c | 16 ++++++++-------- include/linux/dcache.h | 8 ++++---- include/linux/nfs_fs.h | 18 +++++++++++++++++- 20 files changed, 146 insertions(+), 62 deletions(-) -- 2.5.5