[Cluster-devel] [PATCH] gfs2: Dirty source inode during rename
Christoph Hellwig
hch at infradead.org
Wed Feb 28 18:07:50 UTC 2018
On Tue, Feb 27, 2018 at 12:50:11PM +0100, Andreas Gruenbacher wrote:
> Mark the source inode dirty during a rename instead of just updating the
> underlying buffer head. Otherwise, fsync may find the inode clean and
> will then skip flushing the journal. A subsequent power failure will
> cause the rename to be lost. This happens in command sequences like:
Looks good,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Cluster-devel
mailing list