>From Daniel Gryniewicz <d...@redhat.com>:
Daniel Gryniewicz has uploaded this change for review. (
https://review.gerrithub.io/401029
Change subject: ASYNC / vector API for write
......................................................................
ASYNC / vector API for write
This is an API change for read() in Ganesha that changes it to be
ASYNC/vector capable. The changes are:
- Buffers are changed to use struct iovec arrays. This will allow
vector I/O in the future.
- FSALs with vector APIs are modified to use them.
- Other FSALs will need to be modified by the owners. Until this
happens, only one vector may be passed in
- Return values for write() are given in a done callback passed into the
write() call.
- Arguments (especially out arguments) are moved into a structure that
is passed into the done callback.
- At this time, the callback is called inline.
Change-Id: I03e44c4ec0d68961933e91910bc3aee8703f93c8
Signed-off-by: Daniel Gryniewicz <d...@redhat.com>
---
M src/FSAL/FSAL_CEPH/handle.c
M src/FSAL/FSAL_GLUSTER/handle.c
M src/FSAL/FSAL_GPFS/file.c
M src/FSAL/FSAL_GPFS/gpfs_methods.h
M src/FSAL/FSAL_MEM/mem_handle.c
M src/FSAL/FSAL_PROXY/handle.c
M src/FSAL/FSAL_RGW/handle.c
M src/FSAL/FSAL_VFS/file.c
M src/FSAL/FSAL_VFS/vfs_methods.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_file.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
M src/FSAL/Stackable_FSALs/FSAL_NULL/file.c
M src/FSAL/Stackable_FSALs/FSAL_NULL/nullfs_methods.h
M src/FSAL/default_methods.c
M src/FSAL/fsal_helper.c
M src/Protocols/9P/9p_read.c
M src/Protocols/9P/9p_write.c
M src/Protocols/NFS/nfs3_read.c
M src/Protocols/NFS/nfs3_write.c
M src/Protocols/NFS/nfs4_op_read.c
M src/Protocols/NFS/nfs4_op_write.c
M src/include/fsal_api.h
22 files changed, 637 insertions(+), 540 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/29/401029/1
--
To view, visit https://review.gerrithub.io/401029
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I03e44c4ec0d68961933e91910bc3aee8703f93c8
Gerrit-Change-Number: 401029
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <d...@redhat.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel