Re: linux fsync behaviour

From: Dave Chinner
Date: Thu Jul 24 2014 - 21:18:42 EST


On Thu, Jul 24, 2014 at 03:41:31PM -0700, yuanh wrote:
> Hi all,
>
> Two file descriptors are pointing the same file. When fsync is called on
> one fd, the data written by the other fd will also be flushed? We are using
> linux XFS.

Yes.

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