From: Chris Mason Date: Tue, 29 Jan 2008 14:59:12 +0000 (-0500) Subject: Btrfs: extent_io and extent_state optimizations X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~317 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70dec8079d78691e476cc6c7cede40656078ad30;p=pandora-kernel.git Btrfs: extent_io and extent_state optimizations The end_bio routines are changed to take a pointer to the extent state struct, and the state tree is walked in order to set/clear appropriate bits as IO completes. This greatly reduces the number of rbtree searches done by the end_bio handlers, and reduces lock contention. The extent_io releasepage function is changed to avoid expensive searches for locked state. Signed-off-by: Chris Mason --- Reading git-diff-tree failed