On Mon, Nov 09, 2015 at 09:12:46AM -0500, Ramachandra Reddy Ankireddypalle wrote: > Hi, > Wanted to know when is it safe to use the buffer passed to > glfs_write_async method. Is it safe to use the buffer right after returning > from glfs_write_async method or after the callback is invoked after > completion of write request. No, you should not use the buffer until the callback is invoked. We try to optimize where we can, and reducing the number of memory copies for a write operation is one of them. Niels
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users