Q: fdatasync on block device?

Anton Altaparmakov (aia21@cam.ac.uk)
Sat, 19 May 2001 16:34:41 +0100


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/