Bug 1746368 - Use rwlock to protect inode table
Summary: Use rwlock to protect inode table
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: locks
Version: mainline
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-28 09:48 UTC by Changwei Ge
Modified: 2020-03-12 13:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-12 13:23:07 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23325 0 None Abandoned libglusterfs: use rwlock to protect inode table 2019-11-08 06:27:10 UTC
Gluster.org Gerrit 23681 0 None Abandoned inode: reduce inode ref/unref and searching contention 2019-11-07 02:25:08 UTC
Gluster.org Gerrit 23682 0 None Abandoned inode: reduce inode ref/unref and searching contention 2019-11-07 02:26:46 UTC
Gluster.org Gerrit 23685 0 None Abandoned inode: reduce inode ref/unref and searching contention 2020-03-09 19:30:30 UTC

Description Changwei Ge 2019-08-28 09:48:31 UTC
Description of problem:
Presently, inode table is protected by mutex which effects glusterfs concurrency. Using rwlock to protect inode would be better,.

Version-Release number of selected component (if applicable):


How reproducible:
Not a bug, no need to reproduce.

Steps to Reproduce:
1.
2.
3.

A lock usage optimization, not applicable for below items.
Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2019-08-29 04:11:44 UTC
REVIEW: https://review.gluster.org/23325 (libglusterfs: use rwlock to protect inode table) posted (#1) for review on master by None

Comment 2 Worker Ant 2019-11-06 14:14:21 UTC
REVIEW: https://review.gluster.org/23681 (inode: reduce inode ref/unref and searching contention) posted (#1) for review on master by Changwei Ge

Comment 3 Worker Ant 2019-11-07 02:24:40 UTC
REVIEW: https://review.gluster.org/23682 (inode: reduce inode ref/unref and searching contention) posted (#1) for review on master by Changwei Ge

Comment 4 Worker Ant 2019-11-07 03:06:40 UTC
REVIEW: https://review.gluster.org/23685 (inode: reduce inode ref/unref and searching contention) posted (#1) for review on master by Changwei Ge

Comment 5 Worker Ant 2020-03-12 13:23:07 UTC
This bug is moved to https://github.com/gluster/glusterfs/issues/1005, and will be tracked there from now on. Visit GitHub issues URL for further details


Note You need to log in before you can comment on or make changes to this bug.