]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
fuse: on 64-bit store time in d_fsdata directly
authorKhazhismel Kumykov <khazhy@google.com>
Mon, 16 Sep 2019 23:56:41 +0000 (16:56 -0700)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 24 Sep 2019 13:28:01 +0000 (15:28 +0200)
commit30c6a23d34cbe19162240e9f9c2c122ba807e58c
treeb2c6ed371f4e9770277541a9167be2a82fbe2cd9
parentd5880c7a8620290a6c90ced7a0e8bd0ad9419601
fuse: on 64-bit store time in d_fsdata directly

Implements the optimization noted in commit f75fdf22b0a8 ("fuse: don't
use ->d_time"), as the additional memory can be significant.  (In
particular, on SLAB configurations this 8-byte alloc becomes 32 bytes).
Per-dentry, this can consume significant memory.

Reviewed-by: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dir.c