Displaying 20 results from an estimated 3000 matches similar to: "[PATCH 2/2 V2] btrfs, a new tool to manage a btrfs filesystem; man page"
2010 Dec 05
1
[PATCH 4/5][REPOST][BTRFS-PROGS] Avoid to scan cdrom and floppy
Hi all,
the commands "btrfs filesystem show" and "btrfs device scan" look at the /dev
directory (and it subdirectories) for every block devices.
This is a slow process because floppy and cdrom are also checked. Moreover,
as highlighted by Helmut, if udev is not used, the /dev directory is populated
by high number of non-existant devices, which slow the process.
My patch
2010 Feb 22
3
Re: [PATCH 0/3 V3] btrfs: a new tool to manage a btrfs filesystem
On Sun, Feb 21, 2010 at 8:40 AM, Goffredo Baroncelli <kreijack@gmail.com> wrote:
> filesystem resize [+/-]<size>[gkm]|max <filesystem>
-filesystem resize [+/-]<size>[gkm]|max <filesystem>
+filesystem resize [+/-]<size>[gkm]|max <dev>
This command works on devices, not paths.
> Resize a filesystem identified by <path>. The
2010 Dec 11
1
[RFC] Improve btrfs subvolume find-new command
Hi all,
enclose a patch to improve the "btrfs subvolume find-new" command. This is a
RFC because it is not finished, but it is an usable state and may be
discussed. The aim of this patch is:
- take in account not only an update of the extent but also an update of the
inode and xattr (which includes the acl)
- extract the generation reference number directly from a snapshot
The new
2011 Oct 19
1
[RFC] aptitude & BTRFS slowness
Hi all,
I suffered a lot for the terrific performance of aptitude on a BTRFS filesystem.
I don''t think that BTRFS is a slow filesystem, but it seems that some aptitude
(or dpkg) patterns are capable to highlight the btrfs slowness in some corner
case.
In order to alleviate this problem, I wrote a small script which calls
aptitude with the LD_PRELOAD libeatmyadata library. And now I
2010 Jan 14
0
[PATCH] Include subvolume= and metadata_ratio= in /cat/proc
Hi all,
this patch include in /proc/mount the info about which subvolume is mounted
and which metadata_ratio value is used.
$ cat /proc/mounts
rootfs / rootfs rw 0 0
[...]
/dev/sdc /tmp/t4 btrfs rw,relatime,metadata_ratio=20 0 0
/dev/sdc /mnt/btrfs btrfs rw,relatime,degraded,metadata_ratio=20,subvol=snap-
of-root 0 0
BR
G.Baroncelli
commit 3d7ea7bbd70a66c4d0f369b2879c503b722e8834
Author:
2010 Nov 30
1
R: Re: [PATCH 5/5] btrfs: Add ioctl to set snapshot readonly/writable
Hi Li,
>----Messaggio originale----
>Da: lizf@cn.fujitsu.com
>Data: 30/11/2010 8.03
>A: <kreijack@libero.it>
>Cc: <linux-btrfs@vger.kernel.org>
>Ogg: Re: [PATCH 5/5] btrfs: Add ioctl to set snapshot readonly/writable
>
>Goffredo Baroncelli wrote:
>> Hi Li,
>>
>> On Monday, 29 November, 2010, Li Zefan wrote:
>>> This allows us to set
2011 Jul 19
6
[PATCH 0/6] Move the infor for the help/man page in the source
The following series implement a way to generate the help messages and
the btrfs man page from the sources comments for the "btrfs" commanda
.
The syntax and the detailed help of every subcommand are stored in
the comments before the function which implements the subcommand.
The fact that the help messages and the man page are generated from the
same source should help to avoid
2009 Jan 13
0
[btrfs-progs 2/4] Add man/btrfsctl.8.in
Add man/btrfsctl.8.in
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@gmail.com>
---
man/btrfsctl.8.in | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
create mode 100644 man/btrfsctl.8.in
diff --git a/man/btrfsctl.8.in b/man/btrfsctl.8.in
new file mode 100644
index 0000000..e11f46a
--- /dev/null
+++ b/man/btrfsctl.8.in
@@ -0,0 +1,45 @@
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 @@
2010 Apr 16
2
[RFC] btrfs, udev and btrfs
Hi all,
below a configuration for udev/initramfs which I propose to scan the block
devices looking for a multi-volume btrfs filesystem.
Btrfs has the capability to span a file-system on multiple device. In order to
do that, the involved devices have to be "registered" in the kernel.
In order to do that there are two options:
# btrfs device scan <device> (or the old
2013 Nov 16
16
[PATCH] BTRFS-PROG: recursively subvolume snapshot and delete
Hi All,
the following patches implement the recursively snapshotting and
deleting of a subvolume.
To snapshot recursively you must pass the -R switch:
# btrfs subvolume create sub1
Create subvolume ''./sub1''
# btrfs subvolume create sub1/sub2
Create subvolume ''sub1/sub2''
# btrfs subvolume snapshot -R sub1 sub1-snap
Create a snapshot of
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 Apr 11
0
[PATCH] Btrfs-progs: enhance 'btrfs subvolume list'
"btrfs subvolume list" gets a new option "--fields=..." which allows
to specify which pieces of information about subvolumes shall be
printed. This is necessary because this commit also adds all the so
far missing items from the root_item like the received UUID, all
generation values and all time values.
The parameters to the "--fields" option is a list of items to
2005 Jan 27
1
klibc/ash doesn't compile
Hi,
on my system the klibc/ash ( 0.197 ) doesn't compile:
[ghigo@therra ash]$ pwd
/home/ghigo/klibc/klibc-0.197/ash
[ghigo@therra ash]$ make
[...]
gcc -Wp,-MD,.arith_lex.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc -iwithprefix
include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386 -I../include/bits32
-I../include
2011 May 04
2
Cannot resize btrfs volume
Hello,
I added a new disk into our RAID5 array, it looks like this:
md2 : active raid5 sdd4[3] sde4[4] sda4[0] sdc4[2] sdb4[1]
3767274240 blocks level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]
# btrfs fi sh
Label: none uuid: 5534d2e7-be31-49c7-8ab7-90c5ab8afe18
Total devices 1 FS bytes used 2.24TB
devid 3 size 2.63TB used 2.63TB path /dev/md2
# mount
...
/dev/md2 on /home type btrfs
2010 Dec 14
0
[PATCH] BTRFS_IOC_TREE_SEARCH: store and use the last key found
Hi all,
following the thread about the BTRFS_IOC_TREE_SEARCH ioctl [1], I made a patch
which try to address the problem of restarting the ioctl.
In the current solution is the application during the restart of the search to
fill the min_* fields in the "struct btrfs_ioctl_search_key". In general the
values set are the last one returned "+1". But doing so we reduce the
2007 Aug 07
1
Subdirectory snapshots
Hi Chris and everyone else,
First let me congratulate you for the nice job on btrfs. I've been stress
testing it with parallel kernel compiles intermixed with snapshot taking, up
to about ~100 load avg on a dual core box and it's doing quite well :-)
I noticed that when creating snapshots it seems to always snapshot an entire
subvolume, that is if one does:
test1:/mnt# btrfsctl -s
2004 Jun 24
1
klibc & dynamic linking
Hello,
Sorry if this question is a FAQ, but I don't find it anywere. Does klibc
support dynamic linking ?
TIA
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
2012 Feb 06
0
[PATCH] Btrfs-progs: make scrub IO priority configurable
The btrfs tool is changed in order to support command line parameters
to configure the IO priority of the scrub tasks. Also the default is
changed. The default IO priority for scrub is the idle class now.
Some basic performance measurements have been done with the goal to
measure which IO priority for scrub gives the best overall disk data
throughput. The kernel was configured to use the CFQ IO
2010 Feb 24
2
Resizing a btrfs managed partition
Hi,
Let me know if this is the wrong place to ask...
I''m using Fedora 12 x86_64, mostly with the newer 21.6.32 kernel, and
have a single btrfs filesystem within a 120Gb partition.
I''d like to extend the space btrfs can use. One option is presumably
add a new device to btrfs, but I was hoping to simple resize the
existing partition to say 160Gb.
With ext4 I might do