Hi Dharani, PVFS_sys_flush and PVFS_isys_flush should do that job.. There is no implicit flush on close although that would be a nice thing to have I think. If you are working on a patch for that, I can help you.. It maybe a good thing to have a flush-on-close flag that pvfs2-client-core can use to flush data to server disks for vfs API users atleast. pvfs2_file_release in src/kernel/linux-2.6/file.c will also need modifications to send an upcall to flush file data. On receiving the flush messages, the servers flush either keyval to db or data to bstreams... Hmm.. looking at PVFS_servreq_flush, it looks like we dont initialize or use the flags member.. Anyways, i hope this helps thanks, Murali
On Dec 1, 2007 1:20 AM, Dharani Sankar Vijayakumar <[EMAIL PROTECTED]> wrote: > May I please know: > How to flush the data written using a pvfs API into the disk immediately? > - Does PVFS_sys_flush() do the above? > - Is there any equivalent PVFS api for fclose()? Does it FLUSH data to > server disks on a close? > > > _______________________________________________ > Pvfs2-users mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users > > _______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
