On 03/10/2014 09:21 PM, Chris Mason wrote:
On 03/10/2014 04:02 PM, Lennart Poettering wrote:
On Mon, 10.03.14 19:34, Goffredo Baroncelli (kreij...@libero.it) wrote:
[...]
I am pretty sure automatic discovery of mount points should not cover
the usecase where people install multiple
Hi David,
below my comments
On 02/20/2014 07:08 PM, David Sterba wrote:
On Thu, Feb 13, 2014 at 08:18:10PM +0100, Goffredo Baroncelli wrote:
space (if the next chunk are allocated as SINGLE) or the minimum one (
if the next chunks are allocated as DUP/RAID1/RAID10).
The other two commands
and
stuff will still work nicely for old kernels that don't have the
updated ioctl. Thanks,
Josef
Good suggestion ! I will take it
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from
(char *str, int base);
int open_file_or_dir(const char *fname, DIR **dirstream);
void close_file_or_dir(int fd, DIR *dirstream);
int get_fs_info(char *path, struct btrfs_ioctl_fs_info_args *fi_args,
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5
**dirstream);
void close_file_or_dir(int fd, DIR *dirstream);
int get_fs_info(char *path, struct btrfs_ioctl_fs_info_args *fi_args,
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from
On 02/15/2014 11:23 PM, Chris Murphy wrote:
On Feb 14, 2014, at 11:34 AM, Hugo Mills h...@carfax.org.uk wrote:
On Fri, Feb 14, 2014 at 07:27:57PM +0100, Goffredo Baroncelli wrote:
On 02/14/2014 07:11 PM, Roman Mamedov wrote:
On Fri, 14 Feb 2014 18:57:03 +0100
Goffredo Baroncelli kreij
On 02/14/2014 07:11 PM, Roman Mamedov wrote:
On Fri, 14 Feb 2014 18:57:03 +0100
Goffredo Baroncelli kreij...@libero.it wrote:
On 02/13/2014 10:00 PM, Roman Mamedov wrote:
On Thu, 13 Feb 2014 20:49:08 +0100
Goffredo Baroncelli kreij...@libero.it wrote:
Thanks for the comments, however I
the string_list_add() function
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More
Enhance the command btrfs filesystem df to show space usage information
for a mount point(s). It shows also an estimation of the space available,
on the basis of the current one used.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
Makefile | 3 +-
cmds-fi-disk_usage.c
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
man/btrfs.8.in | 52
1 file changed, 52 insertions(+)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index b620348..4acf16d 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -35,6
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-fi-disk_usage.c | 428 +++
cmds-fi-disk_usage.h | 3 +
cmds-filesystem.c| 3 +
utils.c | 63
utils.h | 3 +
5 files changed, 500 insertions
Allow the use of get_device_info() for different units.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
utils.c | 2 +-
utils.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/utils.c b/utils.c
index 760db6b..69295b5 100644
--- a/utils.c
+++ b/utils.c
@@ -1591,7
*table_vprintf(struct string_table *tab, int column, int row,
+ char *fmt, va_list ap);
+void table_dump(struct string_table *tab);
+void table_free(struct string_table *);
+
+#endif
--
1.8.5.3
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-device.c| 3 ++
cmds-fi-disk_usage.c | 136 +++
cmds-fi-disk_usage.h | 3 ++
3 files changed, 142 insertions(+)
diff --git a/cmds-device.c b/cmds-device.c
index bc4a8dc
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
man/btrfs.8.in | 11 +++
1 file changed, 11 insertions(+)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 4b7e771..0984504 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -59,6 +59,9 @@ btrfs \- control a btrfs filesystem
Hi Roman,
On 02/13/2014 08:23 PM, Roman Mamedov wrote:
On Thu, 13 Feb 2014 20:20:12 +0100
Goffredo Baroncelli kreij...@libero.it wrote:
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
[...]
Why not just name it du? Think about the current handy feature of shortening
commands
Hi Roman
On 02/13/2014 08:28 PM, Roman Mamedov wrote:
On Thu, 13 Feb 2014 20:19:50 +0100
Goffredo Baroncelli kreij...@libero.it wrote:
[...]
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index fc85eef..d4cab63 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -798,6 +798,9
.
There is no needing to re-balance if you add more drives. The next
chunk allocation will span all the available drives anyway. It is only
required when you want to spans all data already written on all the drives.
Regards
Goffredo
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key
with a dedicated patch.
Hugo.
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More
): 113402084997 (Max: 123134189568, min:
62460008448)
Data to disk ratio: 92 %
I wish there was more you know.
Kind Regards,
Kostia
BR
G.Baroncelli
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA
On 02/11/2014 02:14 PM, Josef Bacik wrote:
On 02/10/2014 05:26 PM, Goffredo Baroncelli wrote:
On 02/10/2014 05:41 PM, Josef Bacik wrote:
= New and improved btrfs fi df =
[...]
Hi Josef
The problem I had with this patch was it didn't give me a way to get
the original output. I
On 02/11/2014 07:33 PM, Josef Bacik wrote:
On 02/11/2014 01:20 PM, Goffredo Baroncelli wrote:
On 02/11/2014 02:14 PM, Josef Bacik wrote:
On 02/10/2014 05:26 PM, Goffredo Baroncelli wrote:
On 02/10/2014 05:41 PM, Josef Bacik wrote:
= New and improved btrfs fi df =
[...]
Hi
--
disk space allocated for data and metdata block group
I hope that this would work better when we have a filesystem composed
by small (inlined) files or when we will have per-subvolume RAID levels.
--
gpg @keyserver.linux.it: Goffredo Baroncelli
space. Other that there is an indication of an estimation of
the free space, with the pessimistic and optimistic values.
[1] See [PATCH V3][BTRFS-PROGS] Enhance btrfs fi df with raid5/6 support
dated 03/10/2013 01:17 PM
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key
On 02/07/2014 05:40 AM, Roman Mamedov wrote:
On Thu, 06 Feb 2014 20:54:19 +0100
Goffredo Baroncelli kreij...@libero.it wrote:
[...]
As Roman pointed out, df show the raw space available. However
when a RAID level is used, the space available to the user is
less.
This patch try to address
On 02/07/2014 05:40 AM, Roman Mamedov wrote:
On Thu, 06 Feb 2014 20:54:19 +0100
Goffredo Baroncelli kreij...@libero.it wrote:
[...]
Even I am not entirely convinced, I update the Roman's PoC in order
to take in account all the RAID levels.
I performed some tests with 7 48.8GB disks. Here my
On 02/07/2014 05:40 AM, Roman Mamedov wrote:
On Thu, 06 Feb 2014 20:54:19 +0100
Goffredo Baroncelli kreij...@libero.it wrote:
[...]
Even I am not entirely convinced, I update the Roman's PoC in order
to take in account all the RAID levels.
The filesystem test is composed by 7 51GB disks
, it would be a better estimation than the actual one.
BR
G.Baroncelli
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
-kernelspace transition, which
seems be one of the goal of your patch.
BR
G.Baroncelli
[1] http://www.spinics.net/lists/linux-btrfs/msg07617.html
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe
are overridden.
I repeat, the search is still performed linearity (ok, some values could
be skipped but this is a further optimization); I want only to avoid
kernel space returning out of range data.
BR
Goffredo
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint
for RAID1,
4, 5, 6, 10 or multipath arrays, as only these have
interesting state. RAID0 or Linear never
have missing, spare, or failed drives, so there is
nothing to monitor.
Best regards
GB
--
gpg @keyserver.linux.it: Goffredo Baroncelli
On 2013-11-29 19:07, David Sterba wrote:
On Thu, Nov 28, 2013 at 08:23:13PM +0100, Goffredo Baroncelli wrote:
Definetely you are right. In fact this is true also for other tools like
tar: they complaint if you remove/move/rename a file during the copy. We
can work to increase the robustness
-rc1 to come out with
this patch in it before I could queue it up. Don't worry, it's not
lost.
The patch landed in 3.12.2
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send
Hi David,
On 2013-11-28 19:31, David Sterba wrote:
On Sat, Nov 16, 2013 at 06:09:00PM +0100, Goffredo Baroncelli wrote:
the following patches implement the recursively snapshotting and
deleting of a subvolume.
Nice feature, but can we try to make the snapshot creation atomic? This
would
Hi all,
nobody is interested in these new features ?
On 2013-11-16 18:09, Goffredo Baroncelli wrote:
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
in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send
Hi Filipe
On 2013-11-19 17:06, Filipe David Manana wrote:
On Wed, Nov 13, 2013 at 6:59 PM, Goffredo Baroncelli kreij...@libero.it
wrote:
Hi Filipe,
my comments below
On 2013-11-13 02:21, Filipe David Borba Manana wrote:
This change adds infrastructure to allow for generic properties
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
Move some code from cmd_subvol_show() to get_root_info(). This is
a preparation for the introducing of traverse_list_subvol_rec()
function.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
btrfs-list.c | 95
btrfs-list.h
Create the traverse_list_subvol_rec() function. Its aim is to permit
to process recursively the filesystems subvolumes.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
btrfs-list.c | 121 +++
btrfs-list.h | 3 ++
2 files changed
The pathjoin() function creates a path from a list of strings.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
utils.c | 63 +++
utils.h | 1 +
2 files changed, 64 insertions(+)
diff --git a/utils.c b/utils.c
index f499023
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
man/btrfs.8.in | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index aee1f70..5ed5277 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -8,7 +8,7 @@ btrfs \- control a btrfs
Add the -R switch to allow to delete recursively a subvolume.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-subvolume.c | 107 +--
1 file changed, 89 insertions(+), 18 deletions(-)
diff --git a/cmds-subvolume.c b/cmds
Update man page of btrfs subvolume snapshot, documenting the
-R switch.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
man/btrfs.8.in | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index b620348..aee1f70 100644
--- a/man/btrfs
Add a '-R' switch to btrfs subvolume snapshot to allow a recursively
subvolume snapshotting.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-subvolume.c | 213 +++
1 file changed, 167 insertions(+), 46 deletions(-)
diff --git
Prefix with ERROR: the error messages of mkfs
Add the ERROR prefix to the error messages of mkfs, to align it
to the btrfs main utility style.
The patch also increase the buffer size of test_dev_for_mkfs() and
test_num_disk_vs_raid() for the error message from 100 to 150
because the former
Add the ERROR prefix to the error messages of mkfs, to align it
to the btrfs main utility style.
The patch increase the buffer size of test_dev_for_mkfs() and
test_num_disk_vs_raid() for the error message from 100 to 150
because the former become too small.
Signed-off-by: Goffredo Baroncelli
of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line
On 2013-11-14 19:22, Goffredo Baroncelli wrote:
On 2013-11-14 12:02, Lutz Vieweg wrote:
Hi,
on a server that so far uses an MD RAID1 with XFS on it we wanted
to try btrfs, instead.
But even the most basic check for btrfs actually providing
resilience against one of the physical storage
for the attention.
BR
G.Baroncelli
[1] btrfs-progs: avoid write to the disk before sure to create fs
71d6bd3c8d70fb682c7fd50796f587ce1f1cf6f8
.
[2] btrfs-progs: mkfs should check for small vol well before
cdbc10729266c03aeb2eb812c17a3ef6c1ceae26
--
gpg @keyserver.linux.it: Goffredo Baroncelli
On 2013-11-14 22:22, Chris Murphy wrote:
On Nov 14, 2013, at 1:47 PM, Goffredo Baroncelli kreij...@libero.it wrote:
Instead if I use the btrfs-progs c652e4efb8e2dd7... I got
[snip]
Data+Metadata: total=8.00MB, used=28.00KB
Note the absence of any RAID1 profile.
What happens
With mixed block groups data and metadata profiles must be the same
BR
G.Baroncelli
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body
On 2013-11-15 08:12, Duncan wrote:
Goffredo Baroncelli posted on Thu, 14 Nov 2013 22:21:22 +0100 as
excerpted:
after some tests and looking at the code I discovered that the current
mkfs.btrfs doesn't allow any raid profile other than SINGLE for data and
meta-data when the mixed metadata
there are the
following calls:
btrfs_update_iflags(inode);
inode_inc_iversion(inode);
inode-i_ctime = CURRENT_TIME;
ret = btrfs_update_inode(trans, root, inode);
btrfs_end_transaction(trans, root);
+}
[...]
GB
--
gpg @keyserver.linux.it: Goffredo
) syscall ?
I noticed that you implemented the Compression properties set/get: is
this from chattr -c ?
[... cut other lines ... ]
G.Baroncelli
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
majordomo info at http://vger.kernel.org/majordomo-info.html
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message
/sub6
I expected that in the line 4, the top level should be 258; the same for
the line 6: top level should be 260. So my question is: what is the
meaning of the top level value ?
Thanks.
BR
G.Baroncelli
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5
On 2013-11-09 21:18, Chris Murphy wrote:
On Nov 9, 2013, at 11:10 AM, Goffredo Baroncelli kreij...@inwind.it
wrote:
1ID 256 gen 5 top level 5 path sub1 2ID 257 gen 6 top level 5
path dir/sub2 3 ID 258 gen 8 top level 5 path dir/sub3 4ID 259
gen
8 top level 5 path
On 2013-11-10 08:38, Goffredo Baroncelli wrote:
On 2013-11-09 21:18, Chris Murphy wrote:
[..]
Chris, many thanks, not it is clear.
s/not/now/
Sorry :-)
GB
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82
On Nov 7, 2013, at 4:45 PM, Michael Göhler vi...@myjm.de wrote:
The boot subvolume is then set with 'btrfs subvolume set-default' and
mounted without subvol/subvolid option by Arch's default mount handler.
I'm unconvinced it's a good idea for it to be used behind the scenes
for the described
On 2013-11-08 18:44, Chris Murphy wrote:
On Nov 8, 2013, at 5:55 AM, Goffredo Baroncelli kreij...@libero.it
kreij...@libero.it wrote:
Instead of using set-default, I am used to rename the subvolume.
I.E. I assume that the root filesystem is a subvolume always called
__active. When I
to remove the btrfs command from the initramfs, and
all the related scripts (in my debian both udev and btrfs-tools
packages contains three udev rules for btrfs).
Comments are welcome.
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2
This patch provides a mount.btrfs helper for the mount command to mounting a
btrfs filesystem.
A btrfs filesystem could span several disks. This helper scans all the
partition to discover all the disks required to mount a filesystem.
So it is not necessary any-more to scan the partitions to mount
On 2013-11-03 22:23, Jeff Mahoney wrote:
On 11/3/13, 1:38 PM, Goffredo Baroncelli wrote:
Hi all,
this patch provides a mount.btrfs helper for the mount command to
mounting a btrfs filesystem.
A btrfs filesystem could spans several disks. This helper scans all
the partition to discover all
/skinny_metadata
features/extended_iref
-Jeff
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
gpg @keyserver.linux.it: Goffredo Baroncelli
help
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
consumed ( == number-of-disk * size-of-chunk ). In fact it
seems that disk_total == total_bytes...
Ok looking at the kernel code (update_space_info() in extent-tree.c) it
seems that the info contained in space_info is bogus in case of
RAID5/RAID6
--
gpg @keyserver.linux.it: Goffredo Baroncelli
regards.
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from
Hi all,
This is the third attempt of my patches related to show how the data
are stored in a btrfs filesystem. I rebased all the patches on the latest
mason git. I tried to address the Zach concern abou the using of
the string_list_add() in the df_pretty_sizes(): string_list_add() is
removed
From: Goffredo Baroncelli kreij...@inwind.it
This patch adds some helpers to manage the strings allocation and
deallocation.
The function string_list_add(char *) adds the passed string to a list;
the function string_list_free() frees all the strings together.
Signed-off-by: Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it
Enhance the command btrfs filesystem df to show space usage information
for a mount point(s). It shows also an estimation of the space available,
on the basis of the current one used.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
Makefile
From: Goffredo Baroncelli kreij...@inwind.it
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
man/btrfs.8.in | 49 +
1 file changed, 49 insertions(+)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 94f4ffe..e2f86ea 100644
--- a/man
From: Goffredo Baroncelli kreij...@inwind.it
This patch adds some functions to manage the printing of the data in
tabular format.
The function
struct string_table *table_create(int columns, int rows)
creates an (empty) table.
The functions
char *table_printf(struct string_table
From: Goffredo Baroncelli kreij...@inwind.it
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
man/btrfs.8.in | 13 +
1 file changed, 13 insertions(+)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index e2f86ea..50dc510 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8
From: Goffredo Baroncelli kreij...@inwind.it
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
man/btrfs.8.in |8
1 file changed, 8 insertions(+)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 50dc510..e60c81f 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -46,6
From: Goffredo Baroncelli kreij...@inwind.it
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-device.c|3 ++
cmds-fi-disk_usage.c | 141 ++
cmds-fi-disk_usage.h |3 ++
3 files changed, 147 insertions(+)
diff --git
From: Goffredo Baroncelli kreij...@inwind.it
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-fi-disk_usage.c | 432 ++
cmds-fi-disk_usage.h |3 +
cmds-filesystem.c|2 +
utils.c | 58 +++
utils.h
.
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
something.
This means DUP (two copy on the same disk); I understand that only
reading the code.
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe
info at http://vger.kernel.org/majordomo-info.html
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord
compatibility RAID6 means p=2, m=*
RAID5 means p=1, m=*
more verbose but also more familiar to the administrator.
What do you think ?
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
On 03/10/2013 02:19 PM, Martin Steigerwald wrote:
Am Sonntag, 10. März 2013 schrieb Martin Steigerwald:
Am Sonntag, 10. März 2013 schrieb Goffredo Baroncelli:
Hi all,
Hi Goffredo,
This is the third attempt of my patches related to show how the data
are stored in a btrfs filesystem. I
On 03/10/2013 06:20 PM, Hugo Mills wrote:
On Sun, Mar 10, 2013 at 03:01:12PM +0100, Goffredo Baroncelli wrote:
Hi Hugo,
could you please add also to the btrfs man page a section where are
described the nCmSpP levels ?
Thanks.
GB
On 03/09/2013 09:31 PM, Hugo Mills wrote:
Signed-off
.
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6
@keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
(this_char, profiles)) {
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo
);
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
in uncommon case (like *re*format a disk
or a test-suite)...
However I think that '-f' is good for mkfs.btrfs.
Ciao,
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send
. Not sure which version introduced the
function required here.
Which error is returned when you try to compile with the 2.17.2 ?
HTH
Anand
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
On 02/26/2013 09:10 PM, Eric Sandeen wrote:
On 2/26/13 12:46 PM, Goffredo Baroncelli wrote:
Hi Eric,
On 02/25/2013 11:54 PM, Eric Sandeen wrote:
Rearrange cmd_subvol_set_default() slightly so we
don't have to close the fd on an error return.
While we're at it, fix whitespace remove magic
On 02/26/2013 09:17 PM, Eric Sandeen wrote:
On 2/26/13 12:50 PM, Goffredo Baroncelli wrote:
On 02/25/2013 11:54 PM, Eric Sandeen wrote:
cmds-qgroup.c contained a parse_limit() function which
duplicates much of the functionality of parse_size.
The only unique behavior is to handle none
Hi Eric,
On 02/25/2013 03:20 AM, Eric Sandeen wrote:
On 2/23/13 7:46 AM, Goffredo Baroncelli wrote:
From: Goffredo Baroncelli kreij...@inwind.it
This patch adds some helpers to manage the strings allocation and
deallocation.
The function string_list_add(char *) adds the passed string
of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line
: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
issue
v2 2013/02/23 Fix uncorrct not enough memory handling in patch #1.
Thanks to Zac to highlight it.
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from this list: send
From: Goffredo Baroncelli kreij...@inwind.it
This patch adds some helpers to manage the strings allocation and
deallocation.
The function string_list_add(char *) adds the passed string to a list;
the function string_list_free() frees all the strings together.
Signed-off-by: Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it
Enhance the command btrfs filesystem df to show space usage information
for a mount point(s). It shows also an estimation of the space available,
on the basis of the current one used.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
Makefile
From: Goffredo Baroncelli kreij...@inwind.it
This patch adds some functions to manage the printing of the data in
tabular format.
The function
struct string_table *table_create(int columns, int rows)
creates an (empty) table.
The functions
char *table_printf(struct string_table
401 - 500 of 984 matches
Mail list logo