| To: | Anand Jain <Anand.Jain@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] snapshot, defragment and raid test cases for btrfs |
| From: | Amir Goldstein <amir73il@xxxxxxxxx> |
| Date: | Fri, 5 Aug 2011 16:53:01 +0300 |
| Cc: | linux-fsdevel@xxxxxxxxxxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, Chris Mason <chris.mason@xxxxxxxxxx>, Aditya Dani <aditya.dani@xxxxxxxxx>, Greg Freemyer <greg.freemyer@xxxxxxxxx> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=pL5Zl5GgmTCAKRXXt6g8wsZX0FLnFP0ih/oaFmHscV4=; b=EWNYVpvONVlugRHZR6P4y9hqnHrzRooNyVYO4aHqYyq4njvH1TNWkOCvaBOdbc0h8c JBnVNW12x3wc8HM3MtJLUolI3w9s7sNKp4L8G/rnm7GgPSmSeeHJ1RNESuqgAL4IBKjP uPD2TTL9q6/f9TZecgsNkSTzxDPJ/P7bBsbbo= |
| In-reply-to: | <4E3BA2F7.4080500@xxxxxxxxxx> |
| References: | <4E3BA2F7.4080500@xxxxxxxxxx> |
Hi Anand, Can you please post the patch in the body of the message so we can comment on it inline. Aditya is also working on a btrfs snapshots xfstest (currently named 257) as part of his Google summer of code project. It would be great if you guys can cooperate your efforts. BTW, while running Aditya's test, Greg has stumbled upon a btrfs OOPS. Greg can provide more details about it. Cheers, Amir. On Fri, Aug 5, 2011 at 10:59 AM, Anand Jain <Anand.Jain@xxxxxxxxxx> wrote: > > Hi, > > Attached is the patch for the xfstests, which adds snapshot, > defragment and volume management test cases for the btrfs > (257, 258 and 259 respectively). > > This introduces a new user variable 'DISK_POOL' which should > be set to disks for the raid tests. > > An example of usage of these tests is as below. > ------------ > [root@localhost xfstests]# cat local.config > TEST_DEV="/dev/sdd" > TEST_DIR=/btrfs > SCRATCH_DEV="/dev/sde" > SCRATCH_MNT=/btrfs1 > DISK_POOL="/dev/sdf /dev/sdg" > [root@localhost xfstests]# > > [root@localhost xfstests]# ./check 257 258 259 > FSTYP -- btrfs > PLATFORM -- Linux/i686 localhost 3.0.0-rc6+ > MKFS_OPTIONS -- /dev/sde > MOUNT_OPTIONS -- -o context=system_u:object_r:nfs_t:s0 /dev/sde /btrfs1 > > 257 8s > 258 3s > 259 33s > Ran: 257 258 259 > Passed all 3 tests > ---------------- > > Thank you. > > Anand > |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] snapshot, defragment and raid test cases for btrfs, Anand Jain |
|---|---|
| Next by Date: | [PATCH, v2] xfs: adding example with xfs_info output decryption, CoolCold |
| Previous by Thread: | [PATCH] snapshot, defragment and raid test cases for btrfs, Anand Jain |
| Next by Thread: | Re: [PATCH] snapshot, defragment and raid test cases for btrfs, Greg Freemyer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |