Re: machine gets unresponsive during btrfs balance

2010-08-13 Thread Andreas Philipp
On 12.08.2010 10:04, Yan, Zheng wrote: > On Thu, Aug 12, 2010 at 3:14 PM, Andreas Philipp > wrote: > >> Hi, >> >> I am using a btrfs filesystem created with raid0 for data and metadata >> for (temporary) storage of tv recordings from my vdr. The filesystem was >> created under kernel version 2.

Re: kernel BUG at fs/btrfs/extent-tree.c:1353

2010-08-13 Thread David Woodhouse
On Thu, 2010-07-08 at 10:31 -0400, Chris Mason wrote: > Neither Yan nor I have been able to reproduce this locally, but a few > people have now hit it. Johannes, are you available to try out a > debugging kernel to try and track this down? I have a machine you can log into, with a spare file sys

Re: [PATCH 2/2] Btrfs-progs: Add hot data support in mkfs

2010-08-13 Thread Andrey Panin
On 224, 08 12, 2010 at 05:29:37PM -0500, bchoc...@gmail.com wrote: > From: Ben Chociej > > Modified mkfs.btrfs to add hot data relocation option (-h) which > preallocates BTRFS_BLOCK_GROUP_DATA_SSD and > BTRFS_BLOCK_GROUP_METADATA_SSD at mkfs time for future use by hot data > relocation code. Al

Re: [PATCH 2/2] Btrfs-progs: Add hot data support in mkfs

2010-08-13 Thread Tomasz Torcz
On Fri, Aug 13, 2010 at 05:14:22PM +0400, Andrey Panin wrote: > On 224, 08 12, 2010 at 05:29:37PM -0500, bchoc...@gmail.com wrote: > > From: Ben Chociej > > > > Modified mkfs.btrfs to add hot data relocation option (-h) which > > preallocates BTRFS_BLOCK_GROUP_DATA_SSD and > > BTRFS_BLOCK_GROUP_M

Re: [PATCH 2/2] Btrfs-progs: Add hot data support in mkfs

2010-08-13 Thread Ben Chociej
It's a good point, of course. Ideally we would be able to prioritize data and place them on 15k versus 7.2krpm disks, etc. However you get to a point where's there's only incremental benefit. For that reason, the scope of this project was simply to take advantage of SSD and HDD in hybrid. Of course

Re: [PATCH 2/2] Btrfs-progs: Add hot data support in mkfs

2010-08-13 Thread Ben Chociej
On Fri, Aug 13, 2010 at 9:08 AM, Tomasz Torcz wrote: > On Fri, Aug 13, 2010 at 05:14:22PM +0400, Andrey Panin wrote: >> On 224, 08 12, 2010 at 05:29:37PM -0500, bchoc...@gmail.com wrote: >> > From: Ben Chociej >> > >> > Modified mkfs.btrfs to add hot data relocation option (-h) which >> > preallo

Re: [PATCH 1/2] Btrfs-progs: Add support for hot data ioctls

2010-08-13 Thread Goffredo Baroncelli
Mr Chociej, some months ago I wrote a new command (called "btrfs"), with the aim to replace "btrfsctl" at all, for a lot of reasons: bugs, largely unmaintained, difficult to maintain. After a lot of review in the btrfs mailing list now btrfs is in the official source. I suggest to update your p

Re: machine gets unresponsive during btrfs balance

2010-08-13 Thread Andreas Philipp
On 12.08.2010 10:04, Yan, Zheng wrote: > On Thu, Aug 12, 2010 at 3:14 PM, Andreas Philipp > wrote: > >> Hi, >> >> I am using a btrfs filesystem created with raid0 for data and metadata >> for (temporary) storage of tv recordings from my vdr. The filesystem was >> created under kernel version 2.

Re: birgers RFE #2

2010-08-13 Thread cwillu
And none of them are what I would consider remotely useful for backups. (What, you guys don't backup to external media?) :) Attached is my nightly backup script, edit it to suit, and dump a symlink into /etc/cron.daily or whatever. It requires a btrfs target (rather than source). backup Descr