diff options
| author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-11-09 13:33:22 +0300 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-02-13 15:15:14 +0300 |
| commit | f15ecfef058d94d03bdb35dcdfda041b3de9d543 (patch) | |
| tree | cb6d8304eb8faa46da4882e71d48a61f33dbe16d /include/linux/fpga/fpga-bridge.h | |
| parent | 4510d86fbbb36872224482bb21836d47cce8be8c (diff) | |
| download | linux-f15ecfef058d94d03bdb35dcdfda041b3de9d543.tar.xz | |
fuse: Introduce fi->lock to protect write related fields
To minimize contention of fc->lock, this patch introduces a new spinlock
for protection fuse_inode metadata:
fuse_inode:
writectr
writepages
write_files
queued_writes
attr_version
inode:
i_size
i_nlink
i_mtime
i_ctime
Also, it protects the fields changed in fuse_change_attributes_common()
(too many to list).
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions
