diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2015-07-01 18:52:42 +0200 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-02-05 05:03:15 -0800 |
commit | 10da9812d83425cb3f2cc8385f94b2a4537d348f (patch) | |
tree | 7b0f220940aa7b5719b73152a5d759cf10a511d9 /xlators/cluster/ec/src/ec-data.h | |
parent | cdcd3dc96b412967ba68a56aa2607d86365fbfe6 (diff) |
cluster/ec: add seek() FOP
BUG: 1220173
Change-Id: Iaa23ba81df4ee78ddaab1f96b3d926a563b4bb3d
Signed-off-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-on: http://review.gluster.org/11494
Smoke: Gluster Build System <jenkins@build.gluster.com>
Tested-by: Niels de Vos <ndevos@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-data.h')
-rw-r--r-- | xlators/cluster/ec/src/ec-data.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-data.h b/xlators/cluster/ec/src/ec-data.h index 9107b4b156e..91f33c111ee 100644 --- a/xlators/cluster/ec/src/ec-data.h +++ b/xlators/cluster/ec/src/ec-data.h @@ -133,6 +133,7 @@ union _ec_cbk fop_xattrop_cbk_t xattrop; fop_fxattrop_cbk_t fxattrop; fop_zerofill_cbk_t zerofill; + fop_seek_cbk_t seek; }; struct _ec_lock @@ -243,6 +244,7 @@ struct _ec_fop_data struct gf_flock flock; struct iovec *vector; struct iobref *buffers; + gf_seek_what_t seek; }; struct _ec_cbk_data @@ -273,6 +275,8 @@ struct _ec_cbk_data struct iobref * buffers; char *str; gf_dirent_t entries; + off_t offset; + gf_seek_what_t what; }; struct _ec_heal |