diff options
| author | Kinglong Mee <kinglongmee@gmail.com> | 2018-02-12 15:13:49 +0800 | 
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2018-02-12 21:34:46 +0000 | 
| commit | d01f7244e9d9f7e3ef84e0ba7b48ef1b1b09d809 (patch) | |
| tree | 1a95023e8a4097e9a07ded99642228894876d8b5 /api/src/gfapi.map | |
| parent | bfb66cc535ce473afa7e330800d2d2c38afe42c9 (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 4dc20e33f4d..c122023e7f5 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;  | 
