[Bugs] [Bug 1467010] Fd based fops fail with EBADF on file migration

bugzilla at redhat.com bugzilla at redhat.com
Sun Sep 17 12:47:31 UTC 2017


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



--- Comment #10 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18057 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit de744c3cbb4ec91e4a2f66575d778633700933c1
Author: N Balachandran <nbalacha at redhat.com>
Date:   Fri Aug 4 14:46:38 2017 +0530

    cluster/dht: Check for open fd only on EBADF

    DHT fd based fops used to check if the fd was open
    on the cached subvol before winding the call. However,
    this introduced a performance regression of about
    30% for reads.

    This check was introduced to handle cases where files
    were migrated while IOs were happening. As this is not
    the common case, dht will now check if the fd is
    open on the cached subvol only if the call fails
    with EBADF.

    This will prevent a performance hit where a rebalance
    is not running.

    > BUG: 1476665
    > Signed-off-by: N Balachandran <nbalacha at redhat.com>
    > Reviewed-on: https://review.gluster.org/17976
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Amar Tumballi <amarts at redhat.com>
    > Reviewed-by: Susant Palai <spalai at redhat.com>
    > Reviewed-by: Raghavendra G <rgowdapp at redhat.com>

    Change-Id: I2035a858d63c3fcd22bb634055bbb0ad01686808
    BUG: 1467010
    Signed-off-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-on: https://review.gluster.org/18057
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=VnmuceUVNo&a=cc_unsubscribe


More information about the Bugs mailing list