Re: btrfs not iSCSI-target safe?

2009-07-23 Thread Tomasz Torcz
On Wed, Jul 22, 2009 at 10:40:31AM -0400, Chris Mason wrote: On Wed, Jul 22, 2009 at 01:27:06PM +0200, Tomasz Torcz wrote: Hi, I tried to export file from btrfs volume using iSCSI target. As soon as some initiator have read it over network, server oopsed:

Re: btrfs not iSCSI-target safe?

2009-07-23 Thread Tomasz Chmielewski
Tomasz Torcz wrote: On Wed, Jul 22, 2009 at 10:40:31AM -0400, Chris Mason wrote: On Wed, Jul 22, 2009 at 01:27:06PM +0200, Tomasz Torcz wrote: Hi, I tried to export file from btrfs volume using iSCSI target. As soon as some initiator have read it over network, server oopsed:

[PATCH] btrfs-progs: Check /etc/mtab in check_mounted()

2009-07-23 Thread Pekka Enberg
From: Pekka Enberg penb...@cs.helsinki.fi The setmntent() lookup for '/proc/mounts' returns NULL on Ubuntu so use '/etc/mtab' instead. Signed-off-by: Pekka Enberg penb...@cs.helsinki.fi --- utils.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utils.c b/utils.c index

[PATCH] btrfs: separate fs_info allocation from open_ctree()

2009-07-23 Thread Pekka Enberg
From: Pekka Enberg penb...@cs.helsinki.fi The open_ctree() function is huge so lets move fs_info allocation to a separate function to clean it up a bit. Signed-off-by: Pekka Enberg penb...@cs.helsinki.fi --- fs/btrfs/disk-io.c | 163 --- 1 files

Updated performance results

2009-07-23 Thread Steven Pratt
I have re-run the raid tests with re-creating the fileset between each of the random write workloads and performance does now match the previous newformat results. The bad news is that the huge gain that I had attributed to the newformat release, does not really exist. All of the previous

Re: [PATCH] Add supported kernel version check to mkfs.btrfs

2009-07-23 Thread Oystein Viggen
* [Roy Sigurd Karlsbakk] On 23. juli. 2009, at 04.09, Chris Samuel wrote: +if ( kern_major min_major ) +return( 0 ); +if ( kern_major min_major ) +return( -1 ); +if ( kern_medium min_medium ) +return( 0 ); +if ( kern_medium

Re: Updated performance results

2009-07-23 Thread Chris Mason
On Thu, Jul 23, 2009 at 01:35:21PM -0500, Steven Pratt wrote: I have re-run the raid tests with re-creating the fileset between each of the random write workloads and performance does now match the previous newformat results. The bad news is that the huge gain that I had attributed to

Re: btrfs not iSCSI-target safe?

2009-07-23 Thread FUJITA Tomonori
On Thu, 23 Jul 2009 15:28:52 +0200 Tomasz Torcz to...@pipebreaker.pl wrote: On Wed, Jul 22, 2009 at 10:40:31AM -0400, Chris Mason wrote: On Wed, Jul 22, 2009 at 01:27:06PM +0200, Tomasz Torcz wrote: Hi, I tried to export file from btrfs volume using iSCSI target. As soon as