From: Miao Xie Date: Fri, 12 Sep 2014 10:43:54 +0000 (+0800) Subject: Btrfs: load checksum data once when submitting a direct read io X-Git-Tag: fixes-against-v3.18-rc2~120^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23ea8e5a07673127d05cb5cf6f9914d7a53e0847;p=pandora-kernel.git Btrfs: load checksum data once when submitting a direct read io The current code would load checksum data for several times when we split a whole direct read io because of the limit of the raid stripe, it would make us search the csum tree for several times. In fact, it just wasted time, and made the contention of the csum tree root be more serious. This patch improves this problem by loading the data at once. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed