From: Miklos Szeredi <mszeredi@redhat.com>
To: Al Viro <viro@ZenIV.linux.org.uk>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
"Yan, Zheng" <zyan@redhat.com>, Steve French <sfrench@samba.org>,
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
Trond Myklebust <trond.myklebust@primarydata.com>
Subject: [PATCH 0/8] remove d_time from dentry
Date: Wed, 22 Jun 2016 16:35:02 +0200 [thread overview]
Message-ID: <1466606110-24297-1-git-send-email-mszeredi@redhat.com> (raw)
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
next reply other threads:[~2016-06-22 14:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-22 14:35 Miklos Szeredi [this message]
2016-06-22 14:35 ` [PATCH 1/8] vfs: new d_allocate method Miklos Szeredi
2016-06-22 17:02 ` Al Viro
2016-06-22 20:33 ` Miklos Szeredi
2016-06-22 14:35 ` [PATCH 2/8] ceph: don't use ->d_time Miklos Szeredi
2016-06-23 6:21 ` Yan, Zheng
2016-06-28 8:09 ` Miklos Szeredi
2016-06-28 8:39 ` Yan, Zheng
2016-06-22 14:35 ` [PATCH 3/8] cifs: " Miklos Szeredi
2016-06-22 14:35 ` [PATCH 4/8] vfat: " Miklos Szeredi
2016-06-22 14:35 ` [PATCH 5/8] fuse: " Miklos Szeredi
2016-06-22 16:46 ` Al Viro
2016-06-22 14:35 ` [PATCH 6/8] nfs: " Miklos Szeredi
2016-06-22 16:48 ` Al Viro
2016-06-22 14:35 ` [PATCH 7/8] ncpfs: " Miklos Szeredi
2016-06-22 16:52 ` Al Viro
2016-06-22 14:35 ` [PATCH 8/8] vfs: remove ->d_time Miklos Szeredi
2016-06-22 21:21 ` [PATCH 0/8] remove d_time from dentry Miklos Szeredi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1466606110-24297-1-git-send-email-mszeredi@redhat.com \
--to=mszeredi@redhat.com \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sfrench@samba.org \
--cc=trond.myklebust@primarydata.com \
--cc=viro@ZenIV.linux.org.uk \
--cc=zyan@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).