[Bugs] [Bug 1566207] Linux kernel untar failed with "xz: (stdin): Read error: Invalid argument" immediate after add-brick

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 18 15:04:36 UTC 2018


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

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/19849 committed in master by "Raghavendra G"
<rgowdapp at redhat.com> with a commit message- fuse: do fd_resolve in
fuse_getattr if fd is received

problem: With the current code, post graph switch the old fd is received for
fuse_getattr and since it is associated with old inode, it does not
have the inode ctx across xlators in new graph. Hence, dht
errored out saying "no layout" for fstat call. Hence the EINVAL.

Solution: if fd is passed, init and resolve fd to carry on getattr

test case:
- Created a single brick distributed volume
- Started untar
- Added a new-brick

Without this fix, untar used to abort with ERROR.

Change-Id: I5805c463fb9a04ba5c24829b768127097ff8b9f9
fixes: bz#1566207
Signed-off-by: Susant Palai <spalai 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=Aupnmai0XQ&a=cc_unsubscribe


More information about the Bugs mailing list