diff options
| author | Nikhilesh Reddy <reddyn@codeaurora.org> | 2016-09-20 13:50:30 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-20 13:52:51 -0700 |
| commit | 6ec3ca7f43cae1aee91e513b20efa4470356cd83 (patch) | |
| tree | 95d1cab67300879f6941c4db902a448c53e3d2dc /tools/perf/scripts/python | |
| parent | 4b91c1a0f78b6b4071e66c9a5879a784cedd6693 (diff) | |
fuse: Grab the fc->lock for inode updates in passthrough
The function fsstack_copy_inode_size uses the inode->i_lock to
serialize the inode updates. This lock is not used in the FUSE
filesystem and thus it is not enough to just grab this lock
before updating a FUSE inode.
Grab the fc->lock for inode updates in passthrough to ensure
that there are no races between inode size updates in 32 bit
architectures with SMP.
Change-Id: I83cb2380b6ca56768c06e70ef1bf9ea3976b514a
Signed-off-by: Nikhilesh Reddy <reddyn@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
