From: Joseph Qi Date: Tue, 17 Feb 2015 00:00:12 +0000 (-0800) Subject: ocfs2: wait for orphan recovery first once append O_DIRECT write crash X-Git-Tag: fixes-v4.0-rc1~90^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4813962beef7586f890a645a1bda77691da4b74a;p=pandora-kernel.git ocfs2: wait for orphan recovery first once append O_DIRECT write crash If one node has crashed with orphan entry leftover, another node which do append O_DIRECT write to the same file will override the i_dio_orphaned_slot. Then the old entry won't be cleaned forever. If this case happens, we let it wait for orphan recovery first. Signed-off-by: Joseph Qi Cc: Weiwei Wang Cc: Joel Becker Cc: Junxiao Bi Cc: Mark Fasheh Cc: Xuejiufei Cc: alex chen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed