diff options
| author | Kinglong Mee <kinglongmee@gmail.com> | 2018-02-12 15:13:49 +0800 |
|---|---|---|
| committer | gluster-ant <bugzilla-bot@gluster.org> | 2018-02-12 15:13:49 +0800 |
| commit | b7d4ec7e98698b715acc6ea4630a8a11d5a969a5 (patch) | |
| tree | 5a0656dca4550316d745785ffe7003431c6e49fa /api/src/gfapi.map | |
| parent | 37ad9fa11d8033d451b6f3b918d0b1992c59749e (diff) | |
gfapi: return pre/post attributes from glfs_pread/pwrite
As nfs-ganesha, a wcc data contains pre/post attributes is return
in read/write rpc reply. nfs-ganesha get those attributes by
two getattr between the real read/write right now.
But, gluster has return pre/post attributes from glusterfsd,
those attributes are skipped in syncop/gfapi, if gfapi return them,
the upper user (nfs-ganesha) can use them directly without any
duplicate getattr.
Updates: #389
Change-Id: I7b643ae4241cfe2aeb17063de00192d81674024a
Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Diffstat (limited to 'api/src/gfapi.map')
| -rw-r--r-- | api/src/gfapi.map | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/gfapi.map b/api/src/gfapi.map index 4dc20e33f4..c122023e7f 100644 --- a/api/src/gfapi.map +++ b/api/src/gfapi.map @@ -30,8 +30,6 @@ GFAPI_3.4.0 { glfs_writev; glfs_readv_async; glfs_writev_async; - glfs_pread; - glfs_pwrite; glfs_pread_async; glfs_pwrite_async; glfs_preadv; @@ -227,4 +225,6 @@ GFAPI_4.0.0 { glfs_file_lock; glfs_lease; glfs_h_lease; + glfs_pread; + glfs_pwrite; } GFAPI_3.13.0; |
