]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: serialize dirops by default
authorMiklos Szeredi <mszeredi@redhat.com>
Thu, 30 Jun 2016 11:10:49 +0000 (13:10 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 30 Jun 2016 11:10:49 +0000 (13:10 +0200)
commite8c347cbd2ffd1f3c60742ba396e1460610413a2
tree8504dad9b399cbef1a3e252c7253325d51740eae
parent826a6401d9f919734ec157a7b7a92aa78aac3745
fuse: serialize dirops by default

Negotiate with userspace filesystems whether they support parallel readdir
and lookup.  Disable parallelism by default for fear of breaking fuse
filesystems.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: 86350cd7ba55 ("parallel lookups: actual switch to rwsem")
Fixes: c4ac72ecc892 ("fuse: switch to ->iterate_shared()")
fs/fuse/dir.c
fs/fuse/fuse_i.h
fs/fuse/inode.c
include/uapi/linux/fuse.h