From: Sage Weil Date: Thu, 2 Apr 2009 20:59:01 +0000 (-0400) Subject: Btrfs: add flushoncommit mount option X-Git-Tag: v2.6.30-rc1~222^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dccae99995089641fbac452ebc7f0cab18751ddb;p=pandora-kernel.git Btrfs: add flushoncommit mount option The 'flushoncommit' mount option forces any data dirtied by a write in a prior transaction to commit as part of the current commit. This makes the committed state a fully consistent view of the file system from the application's perspective (i.e., it includes all completed file system operations). This was previously the behavior only when a snapshot is created. This is used by Ceph to ensure that completed writes make it to the platter along with the metadata operations they are bound to (by BTRFS_IOC_TRANS_{START,END}). Signed-off-by: Sage Weil Signed-off-by: Chris Mason --- Reading git-diff-tree failed