Remove the magic number 128 in btrfs/ulist.c.
Introduce the macro definition ULIST_SIZE_INCREMENT in btrfs/ulist.h.
Signed-off-by: Wang Sheng-Hui
---
fs/btrfs/ulist.c |2 +-
fs/btrfs/ulist.h |5 +
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/ulist.c b/fs/bt
On Saturday, November 05, 2011 04:27:49 PM Chris Mason wrote:
> On Wed, Nov 02, 2011 at 04:29:15AM -0400, Christoph Hellwig wrote:
> > Andres, can you check with Chris that the btrfs changes made it to
> > his tree? The core lseek changes from Andi are in mainline now, but
> > I think these bits a
Hello,
I've got a system up-and-running that can run arbitrary benchmarks in a
VM with direct access to an SSD drive. I'd like to have a benchmark to
run on a few different revisions of the btrfs code to get some data to
test with, so if any btrfs devs or testers would like to help, please
se
btrfs_try_tree_write_lock is used for write lock, not for read lock.
Signed-off-by: Wang Sheng-Hui
---
fs/btrfs/locking.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/locking.c b/fs/btrfs/locking.c
index 5e178d8..4e4705c 100644
--- a/fs/btrfs/locking.c
+++ b