On Fri, Apr 05, 2013 at 03:20:56PM +0800, Miao Xie wrote: > It is very likely that there are several blocks in bio, it is very > inefficient if we get their csums one by one. This patch improves > this problem by getting the csums in batch. > > According to the result of the following test, the execute time of > __btrfs_lookup_bio_sums() is down by ~28%(300us -> 217us). > > # dd if=<mnt>/file of=/dev/null bs=1M count=1024 > > Signed-off-by: Miao Xie <[email protected]> > --- > Changelog v2 -> v3: > - address the problem that the logical offset of the pages in the same bio is > not contiguous.
Does not crash at 091 anymore (it's btrfs-next based on 3.9-rc5 + v3). david -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
