[PATCH 0/1] Fix-atomic_open-not-using-negative-d_entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found the non-existing file looked up by _fuse_atomic_open()
function will not set negative dentry properly. This issue came to
light when I was benchmarking the performance of the second open
operation on a non-existing file. Using _fuse_atomic_open() resulted 
in a 10x performance regression compared to the original 
fuse_create_open() function.

With the previous fuse_create_open() function, when a negative dentry
is returned by fuse server. kernel will set the dentry timeout and
return with finish_no_open(). The _fuse_atomic_open() function will
return ENOENT error instead.

Yuan Yao (1):
  fuse: Fix atomic_open not using negative d_entry

 fs/fuse/dir.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

-- 
2.43.0.429.g432eaa2c6b-goog





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux