Re: [PATCH] Btrfs: move the extent buffer radix tree into the fs_info

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

 



On Tue, 2013-12-17 at 02:06 +-0100, David Sterba wrote:
+AD4- On Mon, Dec 16, 2013 at 01:26:26PM -0500, Josef Bacik wrote:
+AD4- +AD4- I need to create a fake tree to test qgroups and I don't want to have to setup a
+AD4- +AD4- fake btree+AF8-inode.  The fact is we only use the radix tree for the fs+AF8-info, so
+AD4- +AD4- everybody else who allocates an extent+AF8-io+AF8-tree is just wasting the space anyway.
+AD4- +AD4- This patch moves the radix tree and its lock into btrfs+AF8-fs+AF8-info so there is less
+AD4- +AD4- stuff I have to fake to do qgroup sanity tests.  Thanks,
+AD4- 
+AD4- This would make the fs+AF8-info::buffer+AF8-lock a global hotspot if
+AD4- alloc+AF8-extent+AF8-buffer and release+AF8-extent+AF8-buffer are called frequently.
+AD4- 

But since the only place that was really using it was the metadata
btree, the lock shouldn't be hotter than before right?

-chris

--
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