[PATCH] btrfs-progs: makefile: drop u option from ar invocation

2015-09-04 Thread Arnd Hannemann
fault (see `U') For libtrfs.a performance benefit of the u option can be neglected, so drop the u option and silence the warning. In the future one might want to explicitly add the D option anyway. Signed-off-by: Arnd Hannemann --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 de

Re: severe hardlink bug

2012-07-30 Thread Arnd Hannemann
Am 29.07.2012 21:13, schrieb C Anthony Risinger: > On Sun, Jul 29, 2012 at 2:02 PM, Konstantin Dmitriev > wrote: >> Dipl.-Ing. Michael Niederle gmx.at> writes: >> >>> I reinstalled over 700 packages - plt-scheme beeing the only one failing >>> due to >>> the btrfs link restriction. >>> >> >> I h

Re: 3.5.0-rc6: btrfs and LVM snapshots -> wrong devicename in /proc/mounts

2012-07-10 Thread Arnd Hannemann
Hi Goffredo, Am 10.07.2012 20:42, schrieb Goffredo Baroncelli: > Hi Arnd, > > I am trying to reproduce this bug. Which kernel version are you using ? I'm using linus' vanilla tree from Sunday which is 3.5.0-rc6 plus some unsuspicious commits. Best regards Arnd -- To unsubscribe from this list:

Re: 3.5.0-rc6: btrfs and LVM snapshots -> wrong devicename in /proc/mounts

2012-07-10 Thread Arnd Hannemann
Am 10.07.2012 00:49, schrieb cwillu: > On Mon, Jul 9, 2012 at 4:22 PM, Arnd Hannemann wrote: >> Hi, >> >> using btrfs with LVM snapshots seems to be confusing /proc/mounts >> After mounting a snapshot of an original filesystem, the devicename of the >> original fi

Re: 3.5.0-rc6: btrfs and LVM snapshots -> wrong devicename in /proc/mounts

2012-07-10 Thread Arnd Hannemann
Hi, Am 10.07.2012 05:30, schrieb Christian Robert: > I agree with you, but you should never mount a snapshot of a btrfs filesystem > at the same time the original is, > because both the original and the snapshot had same "device fsid > 5c3e8ca2-da56-4ade-9fef-103a6a8a70c2" > > the kernel will t

3.5.0-rc6: btrfs and LVM snapshots -> wrong devicename in /proc/mounts

2012-07-09 Thread Arnd Hannemann
Hi, using btrfs with LVM snapshots seems to be confusing /proc/mounts After mounting a snapshot of an original filesystem, the devicename of the original filesystem is overwritten with that of the snapshot in /proc/mounts. Steps to reproduce: arnd@kallisto:/mnt$ sudo mount /dev/vg0/original /mnt

[PATCH] btrfs-progs: btrfs-image: don't segfault if no root is found

2012-07-09 Thread Arnd Hannemann
.c:494 494 BUG_ON(root->nodesize != root->leafsize); at btrfs-image.c:494 Signed-off-by: Arnd Hannemann --- btrfs-image.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/btrfs-image.c b/btrfs-image.c index f2bbcc8..fec51d8 100644 --- a/btrfs-image.c +++ b/btrfs-image.c

Re: [PATCH v2] Btrfs: allow mount -o remount,compress=no

2012-06-25 Thread Arnd Hannemann
Hi Chris, Am 16.04.2012 16:42, schrieb David Sterba: > On Mon, Apr 16, 2012 at 03:27:51PM +0200, Arnd Hannemann wrote: >> Btrfs allows to turn on compression on a mounted and used filesystem >> by issuing mount -o remount,compress=lzo. >> This patch allows to turn compressi

3.5.0-rc4: WARNING: at fs/btrfs/super.c:221 __btrfs_abort_transaction+0xae/0xc0 (was: Re: 3.4.0-rc6:...)

2012-06-25 Thread Arnd Hannemann
Hi, still seeing this warning (well the line number changed) on 3.5.0 (rc4): [ 11.909589] [ cut here ] [ 11.909616] WARNING: at /home/arnd/Projekte/kernel/linux-2.6/fs/btrfs/super.c:221 __btrfs_abort_transaction+0xae/0xc0 [btrfs]() [ 11.909617] Hardware name: 4384G

Re: 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()

2012-05-22 Thread Arnd Hannemann
Hi, I just got the same warning on a fresh 3.4.0 final while booting. This time on /usr/share (different filesystem from last time): arnd@kallisto:~$ ls -l /dev/mapper/vg0-usr_share lrwxrwxrwx 1 root root 7 Mai 22 17:59 /dev/mapper/vg0-usr_share -> ../dm-4 arnd@kallisto:~$ grep usr_share /proc/mo

Re: 3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()

2012-05-14 Thread Arnd Hannemann
Hello David, Am 14.05.2012 17:05, schrieb David Sterba: > On Mon, May 14, 2012 at 03:18:46PM +0200, Arnd Hannemann wrote: >> I just got the following warning on a compressed btrfs filesystem, while >> writing on it >> until no remaining space was available. >> Looks li

3.4.0-rc6: WARNING: at fs/btrfs/super.c:219 __btrfs_abort_transaction+0xae/0xc0 [btrfs]()

2012-05-14 Thread Arnd Hannemann
Hi, I just got the following warning on a compressed btrfs filesystem, while writing on it until no remaining space was available. Looks like a bit verbose "disk full" message, is it expected behavior? [22403.015529] [ cut here ] [22403.015572] WARNING: at /home/arnd/Pro

[PATCH v2] Btrfs: allow mount -o remount,compress=no

2012-04-16 Thread Arnd Hannemann
is turned off. Signed-off-by: Arnd Hannemann --- fs/btrfs/super.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 8d5d380..79a2ca5 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -394,15 +394,22 @@ int

Re: hard links

2012-04-04 Thread Arnd Hannemann
Hi Hugo, Am 04.04.2012 21:53, schrieb Hugo Mills: > On Wed, Apr 04, 2012 at 09:39:39PM +0200, Arnd Hannemann wrote: >> Am 04.04.2012 21:33, schrieb Shyam Prasad N: >>> On 04/04/2012 10:08 PM, Arnd Hannemann wrote: >>>> Hi, >>>> >>>> today I

[PATCH] Btrfs: allow mount -o remount,compress=no

2012-04-04 Thread Arnd Hannemann
Btrfs allows to turn on compression on a mounted and used filesystem by issuing mount -o remount,compress=lzo. This patch allows to turn compression off again while the filesystem is mounted. Signed-off-by: Arnd Hannemann --- fs/btrfs/super.c |7 ++- 1 files changed, 6 insertions(+), 1

Re: hard links

2012-04-04 Thread Arnd Hannemann
Hi Shyam, Am 04.04.2012 21:33, schrieb Shyam Prasad N: > On 04/04/2012 10:08 PM, Arnd Hannemann wrote: >> Hi, >> >> today I experimented with hard links on btrfs and by this used all available >> inode space of a file. >> Interestingly if this happens even a

hard links

2012-04-04 Thread Arnd Hannemann
Hi, today I experimented with hard links on btrfs and by this used all available inode space of a file. Interestingly if this happens even a rename of such an filename to an _equal length_ filename fails: arnd@kallisto:/mnt/btrfs/tmp$ mv a b mv: cannot move `a' to `b': Too many links Is this

[PATCH] Btrfs-progs: Fix some typos in btrfs man page

2011-12-02 Thread Arnd Hannemann
This Patch fixes some minor typos in the btrfs man page. Signed-off-by: Arnd Hannemann --- man/btrfs.8.in |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index be478e0..bafca8d 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8

Re: compressed btrfs "No space left on device"

2011-11-16 Thread Arnd Hannemann
Am 14.11.2011 19:24, schrieb Arnd Hannemann: > Am 14.11.2011 15:57, schrieb Arnd Hannemann: > >> I'm using btrfs for my /usr/share/ partition and keep getting the following >> error >> while installing a debian package which should take no more than 228 MB: >&g

[PATCH] Btrfs: Prefix resize related printks with btrfs:

2011-11-16 Thread Arnd Hannemann
For the user it is confusing to find something like: [10197.627710] new size for /dev/mapper/vg0-usr_share is 3221225472 in kernel log, because it doesn't point directly to btrfs. This patch prefixes those messages with "btrfs:" like other btrfs related printks. Signed-off-by:

[PATCH] Fix URL of btrfs-progs git repository in docs

2011-11-16 Thread Arnd Hannemann
The location of the btrfs-progs repository has been changed. This patch updates the documentation accordingly. Signed-off-by: Arnd Hannemann --- Documentation/filesystems/btrfs.txt |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation

Re: compressed btrfs "No space left on device"

2011-11-14 Thread Arnd Hannemann
Am 14.11.2011 15:57, schrieb Arnd Hannemann: > I'm using btrfs for my /usr/share/ partition and keep getting the following > error > while installing a debian package which should take no more than 228 MB: > > Unpacking texlive-fonts-extra (from > .../texlive-fonts-extra

Re: [PATCH] Btrfs-progs: satisfy compiler and change printf modifier

2011-11-14 Thread Arnd Hannemann
Am 14.11.2011 16:30, schrieb Christian Parpart: > On Mon, Nov 14, 2011 at 4:24 PM, Arnd Hannemann <mailto:a...@arndnet.de>> wrote: > > One-liner which fixes the gcc warning: > warning: format '%u' expects argument of type 'unsigned int', >

[PATCH] Btrfs-progs: Relocate -lpthread in makefile

2011-11-14 Thread Arnd Hannemann
2: undefined reference to `pthread_join' collect2: ld returned 1 exit status make: *** [btrfs] Error 1 The gcc man page says: "[...] the placement of the -l option is significant." so lets include -lpthread together with the usual $(LIBS) Signed-off-by: Arnd Hannemann ---

[PATCH] Btrfs-progs: satisfy compiler and change printf modifier

2011-11-14 Thread Arnd Hannemann
One-liner which fixes the gcc warning: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat] Signed-off-by: Arnd Hannemann --- extent-tree.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

compressed btrfs "No space left on device"

2011-11-14 Thread Arnd Hannemann
Hi, I'm using btrfs for my /usr/share/ partition and keep getting the following error while installing a debian package which should take no more than 228 MB: Unpacking texlive-fonts-extra (from .../texlive-fonts-extra_2009-10ubuntu1_all.deb) ... dpkg: error processing /var/cache/apt/archives