[RFC] inode table locking contention reduction experiment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am recently working on reducing inode_[un]ref() locking contention by getting rid of inode table lock. Just use inode lock to protect inode REF. I have already discussed a couple rounds with several Glusterfs developers via emails and Gerrit and basically get understood on major logic around.

Currently, inode REF can be ZERO and be reused by increasing it to ONE.
This is IMO why we have to burden so much work for inode table when REF/UNREF. It makes inode [un]ref() and inode table and dentries(alias) searching hard to run concurrently.

So my question is in what cases, how can we find a inode whose REF is ZERO?

As Glusterfs store its inode memory address into kernel/fuse, can we conclude that only fuse_ino_to_inode() can bring back a REF=0 inode?


Thanks,
Changwei
_______________________________________________

Community Meeting Calendar:

APAC Schedule -
Every 2nd and 4th Tuesday at 11:30 AM IST
Bridge: https://bluejeans.com/118564314

NA/EMEA Schedule -
Every 1st and 3rd Tuesday at 01:00 PM EDT
Bridge: https://bluejeans.com/118564314

Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux