[Devel] [PATCH 0/8] fuse:Backport of ms locking patches part 2

Kirill Tkhai ktkhai at virtuozzo.com
Wed Apr 3 18:37:00 MSK 2019


For Pavel Butsykin.

Here is backport of locking patches: introducing of fc->bg_lock and fi->lock.

This may need additional changes for kio and NOT verified for fast-path.
So, possible, Pasha, you need implement several more patches on top of
this series.

---

Kirill Tkhai (8):
      fuse: introduce fc->bg_lock
      fuse: Remove bogus list_del_init() from-fuse_request_send_background
      fuse: do not take fc->lock in fuse_request_send_background()
      fuse: Add fuse_inode argument to fuse_prepare_release()
      fuse: Convert fc->attr_version into atomic64_t
      fuse: Introduce fi->lock to protect write related fields
      fuse: Protect fi->nlookup with fi->lock
      fuse: Protect ff->reserved_req via corresponding fi->lock


 fs/fuse/control.c                  |    8 +-
 fs/fuse/cuse.c                     |    3 +
 fs/fuse/dev.c                      |  100 ++++++++++++++------------
 fs/fuse/dir.c                      |   62 ++++++----------
 fs/fuse/file.c                     |  138 +++++++++++++++++++-----------------
 fs/fuse/fuse_i.h                   |   25 ++++---
 fs/fuse/inode.c                    |   27 +++++--
 fs/fuse/kio/pcs/pcs_fuse_kdirect.c |   18 ++---
 8 files changed, 201 insertions(+), 180 deletions(-)

--
Signature


More information about the Devel mailing list