Q: fdatasync on block device?

From: Anton Altaparmakov (aia21@cam.ac.uk)
Date: Sat May 19 2001 - 10:34:41 EST


Hi,

Could someone enlighten me whether fdatasync() system call on Linux, when
called on the fd of an open()-ed block device, will result in the
committing of all dirty device buffers to disk?

If not, how do I achieve this? Should I use the BLKFLSBUF ioctl?

Thanks in advance.

Best regards,

         Anton

-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://sourceforge.net/projects/linux-ntfs/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:33 EST