VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Corrado Zoccolo <czoccolo@gmail.com> 2010-09-20 15:24:50 +0200 committer: Jens Axboe <jaxboe@fusionio.com> 2010-09-20 15:24:50 +0200 commit: 749ef9f8423054e326f3a246327ed2db4b6d395f parent: 6d0aed7a38d06284db2a0e46c0a072b0c1c3299b
Commit Summary:
cfq: improve fsync performance for small files
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c
index 7c068c189d80..80910f51d4b4 100644
--- a/fs/jbd2/commit.c
+++ b/fs/jbd2/commit.c
@@ -360,7 +360,7 @@ void jbd2_journal_commit_transaction(journal_t *journal)
 	int tag_bytes = journal_tag_bytes(journal);
 	struct buffer_head *cbh = NULL; /* For transactional checksums */
 	__u32 crc32_sum = ~0;
-	int write_op = WRITE;
+	int write_op = WRITE_SYNC;
 
 	/*
 	 * First job: lock down the current transaction and wait for