Re: [PATCH] ext3: call blkdev_issue_flush on fsync

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Sandeen
Date: Friday, March 26, 2010 - 12:37 pm

On 03/26/2010 02:24 PM, Andreas Dilger wrote:

And no-journal mode isn't possible in ext3 :)

Actually unless I'm totally confused, this patch doesn't apply at all,
and we already have:

        if (log_start_commit(journal, commit_tid)) {
                log_wait_commit(journal, commit_tid);
                goto out;
        }

        /*
         * In case we didn't commit a transaction, we have to flush
         * disk caches manually so that data really is on persistent
         * storage
         */
        if (test_opt(inode->i_sb, BARRIER))
                blkdev_issue_flush(inode->i_sb->s_bdev, NULL);
out:
        return ret;

in ext3_sync_file(), from commit 56fcad29d4b3cbcbb2ed47a9d3ceca3f57175417...

-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ext3: call blkdev_issue_flush on fsync, Surbhi Palande, (Fri Mar 26, 9:50 am)
Re: [PATCH] ext3: call blkdev_issue_flush on fsync, Andreas Dilger, (Fri Mar 26, 12:24 pm)
Re: [PATCH] ext3: call blkdev_issue_flush on fsync, Eric Sandeen, (Fri Mar 26, 12:37 pm)
Re: [PATCH] ext3: call blkdev_issue_flush on fsync, Surbhi Palande, (Fri Mar 26, 12:55 pm)