Re: Compressed Filesystem

2008-11-03 Thread Chris Samuel
On Thu, 30 Oct 2008 7:08:42 am Chris Mason wrote: > The decompression does spread across cpus, and I've gotten about 800MB/s > doing decompress and checksumming on a zero filled compressed file.  At > the time, the disk was reading 14MB/s. FWIW I've got a pretty ugly patch to Bonnie++ that makes

Re: Compile error of latest hotfix release of btrfs

2008-11-03 Thread Avi Kivity
yanhai zhu wrote: sorry, -- diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 9b37ce6..04a0e58 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2539,7 +2539,11 @@ int extent_readpages(struct extent_io_tree *tree, /* open coding of lru_cache_a

Re: File System Performance results

2008-11-03 Thread Chris Mason
On Mon, 2008-11-03 at 13:14 -0600, Steven Pratt wrote: > Chris Mason wrote: > > On Wed, 2008-10-22 at 15:06 -0500, Steven Pratt wrote: > > > >> We have set up a new page which is intended mainly for tracking the > >> performance of BTRFS, but in doing so we are testing other filesystems > >> a

Re: File System Performance results

2008-11-03 Thread Steven Pratt
Chris Mason wrote: On Wed, 2008-10-22 at 15:06 -0500, Steven Pratt wrote: We have set up a new page which is intended mainly for tracking the performance of BTRFS, but in doing so we are testing other filesystems as well (ext3, ext4, xfs and jfs). Thought some people here might find the re

[PATCH] Fix call to blkdev_issue_discard

2008-11-03 Thread Diego Calleja
Commit 3e6053d76dcbd92b2f9f4ad5ece9bce83149523e adds a gfp_mask parameter to blkdev_issue_discard, which breaks compilation in btrfs if BIO_RW_DISCARD is config'ed in: /home/diego/kernel/btrfs-unstable-standalone/extent-tree.c:1896: error: too few arguments to function 'blkdev_issue_discard' I ad

Re: Compile error of latest hotfix release of btrfs

2008-11-03 Thread yanhai zhu
sorry, -- diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 9b37ce6..04a0e58 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2539,7 +2539,11 @@ int extent_readpages(struct extent_io_tree *tree, /* open coding of lru_cache_add, also not exporte

Re: Compile error of latest hotfix release of btrfs

2008-11-03 Thread Tarkan Erimer
Hi Yanhai, Thank you very much for the help and the patch. But; unfortunately, it didn't work ;-( I got the following errors : [EMAIL PROTECTED]:~/btrfs/kernel-417d87e57364$ make bash version.sh make -C /lib/modules/`uname -r`/build M=`pwd` modules make[1]: Entering directory `/usr/src/linux-2

Re: [PATCH]several insignificant cleanups

2008-11-03 Thread yanhai zhu
trivial, sorry, i always forget these english words. 2008/11/3 yanhai zhu <[EMAIL PROTECTED]>: > Hello, > below is some nontrivial cleanups. > > Thanks, > Zhu Yanhai > -- > diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c > index cbb9bb3..0974637 100644 > --- a/fs/btrfs/volumes.c > +++ b

[PATCH]several insignificant cleanups

2008-11-03 Thread yanhai zhu
Hello, below is some nontrivial cleanups. Thanks, Zhu Yanhai -- diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index cbb9bb3..0974637 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -834,7 +834,7 @@ static int btrfs_rm_dev_item(struct btrfs_root *root, struct block_dev

Re: Compile error of latest hotfix release of btrfs

2008-11-03 Thread yanhai zhu
hello, try this. diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 9b37ce6..eb01341 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2539,7 +2539,11 @@ int extent_readpages(struct extent_io_tree *tree, /* open coding of lru_cache_add, also no

Compile error of latest hotfix release of btrfs

2008-11-03 Thread Tarkan Erimer
Hi, I use Kubuntu-8.10 with custom kernel 2.6.28-rc2 and my gcc version is "gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2". When I tried to compile latest btrfs source, I got these error messages : [EMAIL PROTECTED]:/media/disk/kernel-417d87e57364$ make bash version.sh make -C /lib/modules/`uname -r`/bu