[Bugs] [Bug 1399130] SEEK_HOLE/ SEEK_DATA doesn't return the correct offset
bugzilla at redhat.com
bugzilla at redhat.com
Tue Nov 29 08:46:48 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1399130
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15943 committed in release-3.8 by Pranith
Kumar Karampuri (pkarampu at redhat.com)
------
commit 31927cd4db62b338f4763ce00ab512d20e4d8c32
Author: Ravishankar N <ravishankar at redhat.com>
Date: Thu Nov 24 08:31:47 2016 +0530
protocol/server: capture offset in seek
Problem:
http://review.gluster.org/11482 implemented seek FOP but
http://review.gluster.org/#/c/14137/ 'undid' the change where we pack
the offset returned by seek in server xlator before sending it to the
client.
As a result, seek always returns zero to the client for SEEK_HOLE/
SEEK_DATA.
Fix:
I think 14137 removed it unintentionally, hence adding it back again.
> Reviewed-on: http://review.gluster.org/15920
> Smoke: Gluster Build System <jenkins at build.gluster.org>
> NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
> CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
> Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
(cherry picked from commit cc37e5929d1e3ea4eaf4c4576a82066bf131ad05)
Signed-off-by: Ravishankar N <ravishankar at redhat.com>
Change-Id: I67a1f7b53214b043c5291f5704be4a50b698f91c
BUG: 1399130
Reviewed-on: http://review.gluster.org/15943
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu 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=kpUTfQ89mP&a=cc_unsubscribe
More information about the Bugs
mailing list