Re: segmentation-fault in btrfsck (git-version)

2012-12-09 Thread Hendrik Friedel
Hello, thanks for letting me know. Indeed it would be good to replace the segmentation Fault by btrfs does not yet know how to handle this condition. Future refinements of btrfsck will probably include proper error messages for issues that can't be handled, or perhaps even fix the error.

Re: send/receive questions

2012-12-09 Thread Alex Lyakas
Hi, 4. support this scene, When doing the receive process, if it suddently be stopped, how to continue the receive process. I sent a proposal and a patch to implement this in http://www.spinics.net/lists/linux-btrfs/msg19387.html. However, it is not easy to make this patch

Re: Snapper snapshot comparison algorithm - send/receive questions

2012-12-09 Thread Alex Lyakas
Arvin, On Mon, Dec 3, 2012 at 1:35 PM, Arvin Schnell aschn...@suse.de wrote: On Sat, Dec 01, 2012 at 01:24:20PM +0530, nafisa mandliwala wrote: I needed help with understanding the snapshot comparison algorithm that snapper uses and its shortcomings. From reading the code, what I understood

Re: Snapper snapshot comparison algorithm

2012-12-09 Thread Alex Lyakas
Mohit, Nafisa, you should start reading from changed_cb function, which is the one that notifies the send code about a particular change that needs to be addressed. The lowest-level instruction generation happens in functions like send_rename, send_link, send_unlink, send_truncate etc. The best

Re: BTRFS, getting darn slower everyday

2012-12-09 Thread Martin Steigerwald
Am Sonntag, 9. Dezember 2012 schrieb Jan Engelhardt: On Sunday 2012-10-07 16:48, Martin Steigerwald wrote: # btrfs su li / ID 256 top level 5 path UBUNTU ID 259 top level 5 path UBUNTU/@ ID 261 top level 5 path UBUNTU/@tmp ID 262 top level 5 path UBUNTU/@home [...] This could be

Re: BTRFS, getting darn slower everyday

2012-12-09 Thread Roman Mamedov
On Sun, 9 Dec 2012 06:17:39 +0100 (CET) Jan Engelhardt jeng...@inai.de wrote: On Sunday 2012-10-07 16:48, Martin Steigerwald wrote: # btrfs su li / ID 256 top level 5 path UBUNTU ID 259 top level 5 path UBUNTU/@ ID 261 top level 5 path UBUNTU/@tmp ID 262 top level 5 path

How to refresh degraded BTRFS? free space fragmentation, file fragmentation...

2012-12-09 Thread Martin Steigerwald
Hi! I have BTRFS on some systems since more than two years. My experience so far is: Performance at the beginning is pretty good, but some of my more often used BTRFS filesystem degrade badly in different areas. On some workloads pretty quickly. There are also some fs however that did not

Re: How to refresh degraded BTRFS? free space fragmentation, file fragmentation...

2012-12-09 Thread Martin Steigerwald
Am Sonntag, 9. Dezember 2012 schrieb Martin Steigerwald: Hi! I have BTRFS on some systems since more than two years. My experience so far is: Performance at the beginning is pretty good, but some of my more often used BTRFS filesystem degrade badly in different areas. On some workloads

Re: BTRFS, getting darn slower everyday

2012-12-09 Thread Swâmi Petaramesh
Le 09/12/2012 11:41, Roman Mamedov a écrit : CoW filesystem incurs fragmentation by its nature, not specifically snapshots. Even without snapshots, rewriting portions of existing files will write the new blocks not over the original ones, but elsewhere, thus increasing fragmentation. Is it to

Re: BTRFS, getting darn slower everyday

2012-12-09 Thread Hugo Mills
On Sun, Dec 09, 2012 at 12:20:46PM +0100, Swâmi Petaramesh wrote: Le 09/12/2012 11:41, Roman Mamedov a écrit : CoW filesystem incurs fragmentation by its nature, not specifically snapshots. Even without snapshots, rewriting portions of existing files will write the new blocks not over

Re: 3.7.0-rc8 btrfs locking issue

2012-12-09 Thread Liu Bo
On Wed, Dec 05, 2012 at 09:07:05AM -0700, Jim Schutt wrote: Hi, I'm hitting a btrfs locking issue with 3.7.0-rc8. The btrfs filesystem in question is backing a Ceph OSD under a heavy write load from many cephfs clients. I reported this issue a while ago:

Re: BTRFS, getting darn slower everyday

2012-12-09 Thread Jan Engelhardt
On Sunday 2012-12-09 11:41, Roman Mamedov wrote: Absolutely. COW snapshots cause severe fragmentation (it's in their nature). CoW filesystem incurs fragmentation by its nature, not specifically snapshots. Even without snapshots, rewriting portions of existing files will write the new blocks

Re: segmentation-fault in btrfsck (git-version)

2012-12-09 Thread Hendrik Friedel
Dear Mich, thanks for your help and suggestion: It might be interesting for you to try a newer kernel, and use scrub on this volume if you have the two disks RAIDed. I have now scrubbed the Disk: ./btrfs scrub status /mnt/other/ scrub status for a15eede9-1a92-47d8-940a-adc7cf97352d

Re: segmentation-fault in btrfsck (git-version)

2012-12-09 Thread Mitch Harder
On Sun, Dec 9, 2012 at 1:06 PM, Hendrik Friedel hend...@friedels.name wrote: Dear Mich, thanks for your help and suggestion: It might be interesting for you to try a newer kernel, and use scrub on this volume if you have the two disks RAIDed. I have now scrubbed the Disk: ./btrfs scrub

Re: BTRFS, getting darn slower everyday

2012-12-09 Thread Bob Marley
On 12/09/12 12:38, Hugo Mills wrote: On Sun, Dec 09, 2012 at 12:20:46PM +0100, Swâmi Petaramesh wrote: Le 09/12/2012 11:41, Roman Mamedov a écrit : CoW filesystem incurs fragmentation by its nature, not specifically snapshots. Even without snapshots, rewriting portions of existing files will