Re: [PATCH 2/4] Btrfs: don't look at the extent buffer level 3 times in a row

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, May 11, 2011 at 05:35:53PM -0400, Josef Bacik wrote:
> We have a bit of debugging in btrfs_search_slot to make sure the level of the
> cow block is the same as the original block we were cow'ing.  I don't think I've
> ever seen this tripped, so kill it.  This saves us 2 kmap's per level in our
> search.  Thanks,

I think it may be worth to add a CONFIG_BTRFS_DEBUG to switch on some
(even expensive) checks, eg. like this one, rather than deleting them.


david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux