[Bugs] [Bug 1557932] New: Introduce new virtual xdata option active-fd-count

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 19 09:52:21 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1557932

            Bug ID: 1557932
           Summary: Introduce new virtual xdata option active-fd-count
           Product: GlusterFS
           Version: mainline
         Component: replicate
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: bugs at gluster.org



Description of problem:
    Problem:
    when dd happens on sharded replicate volume all the writes on shards happen
    through anon-fd. When the writes don't come quick enough, old anon-fd
closes
    and new fd gets created to serve the new writes. open-fd-count is
decremented
    only after the fd is closed as part of fd_destroy(). So even when one fd is
on
    the way to be closed a new fd will be created and during this short period
it
    appears as though there are multiple fds opened on the file. AFR thinks
another
    application opened the same file and switches off eager-lock leading to
    extra latency.

    Fix:
    Have a different option called active-fd whose life cycle starts at
    fd_bind() and ends just before fd_destroy()


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list