Displaying 20 results from an estimated 30000 matches similar to: "btrfs review"
2010 Aug 31
2
Question about specific patch (eMMC)
Hello all,
Is there any patches for btrfs to use enhanced area in eMMC (it will
allow to boost performance i.e. it very useful to keep metadata within
this area) ?
If it''s exist let me know how to find it and use it.
Thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at
2013 Nov 27
1
[PATCH v4] btrfs-progs: Fix a segfault when using btrfs-corrupt-block with "-U"
When using "-U" option with btrfs-corrupt-block, it will cause a
segfault due to a missing break in getopt switch.
Reported-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
---
btrfs-corrupt-block.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/btrfs-corrupt-block.c b/btrfs-corrupt-block.c
index f0c14a9..a2828d4 100644
2013 Mar 20
1
Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
There is a missing dependency: liblzo2-dev
Without it, the make fails with:
~/tmp$ git clone
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
~/tmp$ cd btrfs-progs
~/tmp/btrfs-progs$ sudo apt-get install uuid-dev libattr1-dev zlib
1g-dev libacl1-dev e2fslibs-dev libblkid-dev
~/tmp/btrfs-progs$ make
[CC] ctree.o
[CC] disk-io.o
[CC] radix-tree.o
2009 Oct 16
1
Building btrfs-unstable.git against 2.6.31?
Hey guys, I was trying to build the btrfs modules from btrfs-
unstable.git/master against the Ubuntu Karmic 2.6.31 kernel, and get
some failures in ref-cache.c:
/home/jdong/code/kernel/btrfs-0.17/ref-cache.h:62: error:
dereferencing pointer to incomplete type
/home/jdong/code/kernel/btrfs-0.17/ref-cache.c: In function
‘btrfs_remove_leaf_refs’:
2009 Nov 20
1
fsck.btrfs assertion failure with large number of disks in fs
Hello all
We are experimenting with btrfs and we''ve run into some problems.
We are running on two Sun Storage J4400 Arrays containing a total of
48 1 TB disks.
With 24 disks in the btrfs:
# mkfs.btrfs /dev/sd[b-y]
WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL
WARNING! - see http://btrfs.wiki.kernel.org before using
adding device /dev/sdc id 2
...
adding device /dev/sdy id 24
fs
2012 Sep 06
0
[PATCH V3 0/7 ] Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots
We want ''btrfs subvolume list'' only to list readonly subvolumes, this patch set
introduces a new option ''r'' to implement it.
You can use the command like that:
btrfs subvolume list -r <mnt>
Changelog v2 -> v3:
- re-implement list_subvols()
- re-implement this read-only subvolume list function based on the new list_subvols()
Changelog v1 -> v2:
-
2013 Mar 12
2
[PATCH] btrfs-progs: add Makefile rule for static build of btrfs-find-root
From: Hugo Mills <h.r.mills@reading.ac.uk>
btrfs-find-root isn''t yet integrated into the main btrfs tool, and is
an important recovery tool, so it deserves to be built as a static
binary.
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index d102dee..c519d21 100644
2009 Jan 11
2
2.6.29-rc1: Cannot loopback mount btrfs formatted file
Since 2.6.29-rc1 contains btrfs I had to try it.
However the loopback mount of my btrfs formatted file fails:
user@host:~$ dd if=/dev/zero of=btrfs.img bs=1MB count=512
user@host:~$ mkfs.btrfs btrfs.img
fs created label (null) on btrfs.img
nodesize 4096 leafsize 4096 sectorsize 4096 size 488.28MB
Btrfs v0.16+da35ab2b0b54
user@host:~$ sudo mount -t btrfs -o loop btrfs.img /mnt/btrfs
mount:
2012 Oct 02
3
[Btrfs-next] bulid failure at fs/btrfs/ctree.h
Hello Josef,
FYI build failure occured in fs/btrfs/ctree.h.
CC fs/btrfs/super.o
In file included from fs/btrfs/delayed-inode.h:30:0,
from fs/btrfs/super.c:45:
fs/btrfs/ctree.h:3235:1: error: expected identifier or ‘(’ before ‘<<’ token
make[3]: *** [fs/btrfs/super.o] Error 1
make[2]: *** [fs/btrfs] Error 2
make[1]: *** [fs] Error 2
make[1]: Leaving directory `
make:
2011 Jan 05
1
[PATCH V3 1/6] btrfs: fix wrong data space statistics
Josef has implemented mixed data/metadata chunks, we must add those chunks''
space just like data chunks.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
---
fs/btrfs/super.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 61bd79a..1d21208 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -768,11 +768,10
2013 Feb 11
2
[PATCH] btrfs: accept zero for balance usage filter
The condition can be relaxed to accept also 0 which will delete
unoccupied chunks and does not need space for the actual data
relocation. Until there is an automatic empty chunk reclaim, we
can use this as a last resort option under enospc.
CC: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
---
Also needs progs update, but is not required for the
2012 Jul 27
2
[PATCH] btrfs-progs: btrfs-image.c: Added NULL pointer check.
Check for the return value of ''open_ctree()'' before dereferencing it.
Signed-off-by: Nageswara R Sastry <nasastry@in.ibm.com>
---
btrfs-image.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/btrfs-image.c b/btrfs-image.c
index f2bbcc8..2a33a55 100644
--- a/btrfs-image.c
+++ b/btrfs-image.c
@@ -491,6 +491,7 @@ static int create_metadump(const char *input, FILE *out,
2014 Mar 05
0
[PATCH] Btrfs-progs: remove unused variable and update btrfs-image man page
Remove unused variable in btrfs-image.c (update_super) and update man
page documentation about -r option. Running btrfsck on a restored
image produces missing chunk information. This is because by default,
btrfs-image fixes up chunk tree to use 1 stripe pointing to the
primary device. This in turns results in btrfsck making some noise.
$ ./mkfs.btrfs /dev/sdb2 -f
$ ./btrfs-image /dev/sdb2
2009 Jan 13
1
[btrfs-progs 1/4] Add man/mkfs.btrfs.8.in
Add man/mkfs.btrfs.8.in
Kept the name with the name in, so that further processing such as
BUILD_DATE BUILD_VERSION etc. could be included later.
All man pages included in the man directory to avoid file cluttering.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
---
man/mkfs.btrfs.8.in | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 63 insertions(+), 0
2011 Aug 14
1
btrfs: failed to read chunk root
Hello,
trying out btrfs on my linux installation. I am running Funtoo with
Linux 3.0 kernel. After a reboot kernel panicked (no access to error
log since it is my root volume that failed). I get this using a rescue
cd (2.6.38, btrfs v 0.19) and then trying to mount :
[ 752.129118] btrfs bad tree block start 0 131072
[ 752.129152] btrfs: failed to read chunk root on sda5
[ 752.132190] btrfs:
2010 Jul 19
1
btrfs: unlinked X orphans messages
Hi,
I am using btrfs for remote backups (via rsync), with daily and weekly
snapshots.
I see these messages in kern.log:
Jul 18 07:09:43 backup1 kernel: [3437126.458374] btrfs: unlinked 9 orphans
Jul 18 12:01:01 backup1 kernel: [3454604.905856] btrfs: unlinked 1 orphans
Jul 18 13:01:51 backup1 kernel: [3458254.990199] btrfs: unlinked 1 orphans
Jul 19 04:01:41 backup1 kernel: [3512244.236347]
2009 Jun 11
4
[BUG] Cannot Mount Btrfs Volume Created By mkfs.btrfs v0.18-26-g0030f1d
Hi,
I try to format a USB memory with a Btrfs. I can format it with
mkfs.btrfs without problems. But; when I try to mount it, it fails to
mount with the below error messages. But the USB memory works fine with
other filesystems (ext4, XFS etc.). So, the hardware is not faulty.
tarkane@tarkane:~$ sudo mkfs.btrfs -d single -n 4096 /dev/sdb1
WARNING! - Btrfs v0.18-26-g0030f1d IS EXPERIMENTAL
2011 Nov 07
2
[btrfs-progs: PATCH] scrub: fix build failure by restoring proper library ordering
From: Sergei Trofimovich <slyfox@gentoo.org>
$ LDFLAGS=-static make
gcc -lpthread -g -O0 -o btrfs btrfs.o btrfs_cmds.o scrub.o \
ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o root-tree.o dir-item.o file-item.o inode-item.o inode-map.o crc32c.o rbtree.o extent-cache.o extent_io.o volumes.o utils.o btrfs-list.o btrfslabel.o -static -luuid
scrub.o: In function
2011 Sep 08
1
[PATCH] Btrfs: fix direct-io vs nodatacow
To reproduce the bug:
# mount -o nodatacow /dev/sda7 /mnt/
# dd if=/dev/zero of=/mnt/tmp bs=4K count=1
1+0 records in
1+0 records out
4096 bytes (4.1 kB) copied, 0.000136115 s, 30.1 MB/s
# dd if=/dev/zero of=/mnt/tmp bs=4K count=1 conv=notrunc oflag=direct
dd: writing `/mnt/tmp'': Input/output error
1+0 records in
0+0 records out
btrfs_ordered_update_i_size() may return
2009 Mar 30
0
[PATCH] add btrfs-image man page
add man/btrfs-image.8.in
Signed-off-by: Peng Tao <bergwolf@gmail.com>
---
man/Makefile | 5 ++++-
man/btrfs-image.8.in | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 1 deletions(-)
create mode 100644 man/btrfs-image.8.in
diff --git a/man/Makefile b/man/Makefile
index 2665dd1..b7a7340 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -6,7 +6,7 @@