Displaying 20 results from an estimated 800 matches similar to: "[RFC] btrfs, udev and btrfs"
2010 Feb 17
0
[PATCH 2/2 V2] btrfs, a new tool to manage a btrfs filesystem; man page
This is the source code of the man page of btrfs.
The main changes from my previous patch are:
- Rearranged the short command in order to avoid conflicts
- Renamed the ''create'' verb is ''subvolume''
Thanks to Daniel for some tweaks on the syntax
BR
G.Baroncelli
diff --git a/man/Makefile b/man/Makefile
index 4e8893b..4a90b75 100644
--- a/man/Makefile
+++
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
2010 Jan 09
2
Still Problems with /dev/btrfs-control
Thanks for the quick reply!
But I still have problems with btrfsctl:
> stat /dev/btrfs-control
File: `/dev/btrfs-control''
Size: 0 Blocks: 0 IO Block: 4096 block special file
Device: ch/12d Inode: 659848 Links: 1 Device type: a,3e
Access: (0644/brw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2010-01-09 11:31:15.757979602 +0100
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:
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
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
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
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
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
2012 Oct 25
46
[RFC] New attempt to a better "btrfs fi df"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
this is a new attempt to improve the output of the command "btrfs fi df".
The previous attempt received a good reception. However there was no a
general consensus about the wording.
Moreover I still didn''t understand how btrfs was using the disks.
A my first attempt was to develop a new command which shows how the
disks
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
2005 Jan 27
2
content of initramfs CPIO archive
Hi,
I am compiling a tiny linux kernel 2.6.10 to be used together with linuxbios.
The boot phase will go as follows:
linuxbios->tiny linux kernel->initramfs
The initramfs shall use dhcp to get it's address and then tftp a full featured
kernel. This kernel must be started through kexec.
I use a tweaked networkdriver in the kernel and cannot use a normal PXE boot.
Which files should I
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
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 Dec 21
0
[PATCH] btrfsctl: scan device and exit without using ioctl
''btrfsctl -A /path/to/device/file'' would only scan for a valid btrfs
on the device using volume recognition helpers.
---
btrfsctl.c | 42 ++++++++++++++++++++++++++++++++++++------
1 files changed, 36 insertions(+), 6 deletions(-)
diff --git a/btrfsctl.c b/btrfsctl.c
index 66c4e89..61020de 100644
--- a/btrfsctl.c
+++ b/btrfsctl.c
@@ -34,6 +34,8 @@
#include
2010 Aug 03
1
make snapshot main volume, delete all others?
Fedora provides yum-fs-snapshot. If installed, on each package
installation or update a snapshot of all btrfs filesystems is taken, so
it is possible to revert the installation/update.
Suppose an update failed and I want to get back: with
# btrfs subvolume set-default yum-snapshot-whatever /
I define which snapshot to use at the next boot.
After rebooting I decide I really want to stay with
2009 Jan 13
0
[btrfs-progs 3/4] Add man/btrfsck.8.in and Makefile for man pages
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@gmail.com>
---
man/Makefile | 27 +++++++++++++++++++++++++++
man/btrfsck.8.in | 17 +++++++++++++++++
2 files changed, 44 insertions(+), 0 deletions(-)
create mode 100644 man/Makefile
create mode 100644 man/btrfsck.8.in
diff --git a/man/Makefile b/man/Makefile
new file mode 100644
index 0000000..2665dd1
--- /dev/null
+++ b/man/Makefile
2007 Dec 06
1
[PATCH] Makefile: CFLAGS, LDFLAGS
Split CFLAGS into CFLAGS (user part) and AM_CFLAGS (not-so-user part;
variable name taken from automake, but otherwise no relation).
Also add LDFLAGS.
This allows me to use `make CFLAGS="-O2 -fPIE" LDFLAGS="-pie"` without
dropping the other important (AM_CFLAGS) flags.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
---
btrfs-progs/Makefile | 17
2011 Nov 01
1
btrfs-progs
Hello,
I''ve just pulled btrfs-progs from the new git repo
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
However, when I come to make it fails like so:
gcc -Wp,-MMD,./.btrfsctl.o.d,-MT,btrfsctl.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -Werror -Os -c btrfsctl.c
gcc -g -Werror -Os -o btrfsctl btrfsctl.o ctree.o disk-io.o radix-tree.o extent-tree.o