Re: [CHECKER] writes not always synchronous on JFS with O_SYNC?

From: Ben Pfaff
Date: Tue Mar 22 2005 - 14:54:18 EST


Dave Kleikamp <shaggy@xxxxxxxxxxxxxx> writes:

> This patch to jfs_fsck fixes the problem. It wasn't really an issue
> with O_SYNC at all, although I believe there are O_SYNC issues that need
> to be resolved. The data itself should be sync'd correctly, as
> generic_file_write checks for the O_SYNC flag. The missing piece in jfs
> is that metadata changes to the inode may not always be making it to the
> disk when they should.

Wow, that's an amazingly fast fix. Thanks! If I have time
today, I'll re-run the checker after applying your patch.
--
Ben Pfaff
email: blp@xxxxxxxxxxxxxxx
web: http://benpfaff.org
-
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/