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)
commit5c672ab3f0ee0f78f7acad183f34db0f8781a200
tree8504dad9b399cbef1a3e252c7253325d51740eae
parent4c2e07c6a29e0129e975727b9f57eede813eea85
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: 9902af79c01a ("parallel lookups: actual switch to rwsem")
Fixes: d9b3dbdcfd62 ("fuse: switch to ->iterate_shared()")
fs/fuse/dir.c
fs/fuse/fuse_i.h
fs/fuse/inode.c
include/uapi/linux/fuse.h