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
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-fi-disk_usage.c | 434 +-
cmds-fi-disk_usage.h |2 +
cmds-filesystem.c|2 +
utils.c | 58 +++
utils.h
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
---
cmds-device.c|3 ++
cmds-fi-disk_usage.c | 141 ++
cmds-fi-disk_usage.h |4 ++
3 files changed, 148 insertions(+)
diff --git
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
, dev_stripes);
The logic to me seems correct.
However my fear is that a 16MB boundary is too low. I would felt
better with a round-up to 128MB. So the stripe size would vary from
128MB to 1GB in step of 128MB. The combination wouldn't be too high.
--
gpg @keyserver.linux.it: Goffredo Baroncelli
(456) );
Right?
- z
--
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
) );
#define pty_fmt %llu%s
#define pty_arg(v) scale(v), unit_string(v)
printf(pty_fmt, pty_arg(v));
The kernel used to print ipv4 addresses like this before it grew its own
%pI4 format specifier.
- z
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key
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 kreij...@inwind.it
---
Makefile |3
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 |2 +-
cmds-fi-disk_usage.c
is a '=', the the text is replace by a
sequence of '=' to fill the column width.
The function
void table_free(struct string_table *)
frees all the data associated to the table.
The function
void table_dump(struct string_table *tab)
prints the table on stdout.
Signed-off-by: Goffredo
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.in
@@ -29,6 +29,9 @@ btrfs \- control a btrfs
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-device.c|3 ++
cmds-fi-disk_usage.c | 141 ++
cmds-fi-disk_usage.h |4 ++
3 files changed, 148 insertions(+)
diff --git a/cmds-device.c b/cmds-device.c
index 198ad68
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-fi-disk_usage.c | 434 +-
cmds-fi-disk_usage.h |2 +
cmds-filesystem.c|2 +
utils.c | 58 +++
utils.h |3 +
5 files changed, 498
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 +46,8 @@ btrfs \- control a btrfs filesystem
: 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
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/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -31,6 +31,8
On 02/19/2013 12:08 AM, Zach Brown wrote:
On Mon, Feb 18, 2013 at 10:04:26PM +0100, Goffredo Baroncelli wrote:
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
to fragmentation problem when different raid profiles
where used together.
BR
G.Baroncelli
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index c372264..88d17b4 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -3724,25
in the release note to notify this change.
Unfortunately btrfsck is old; now we must provide an alternative file to
overwrite this binary in order to avoid the mismatch above when the user
is used to recompile the binary from the source.
BR
Goffredo
--
gpg @keyserver.linux.it: Goffredo Baroncelli
to be not limited by the fact that the check fails. I am
thinking to a rescue scenario like boot in a single mode where not al
filesystem are mounted.
I am referring to all the safety check not this one only.
BR
G.Baroncelli
[...]
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key
On 02/12/2013 11:52 PM, David Sterba wrote:
On Tue, Feb 12, 2013 at 07:01:33PM +0100, Goffredo Baroncelli wrote:
On 02/12/2013 06:37 PM, Filipe Brandenburger wrote:
Hi,
On Tue, Feb 12, 2013 at 8:39 AM, David Sterba dste...@suse.cz wrote:
+# For backward compatibility, 'btrfs' changes
.
Regards -- 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
,
+argv[optind], i, sb.generation, filename);
+close(fd);
+}
[...]
--
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
{
+ usage_command_group(btrfs_cmd_group, 0, 0);
[...]
--
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
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 unsubscribe
,
- subvol_rootid, fs_devices);
+ fs_devices);
if (error) {
kfree(subvol_name);
return ERR_PTR(error);
--
1.7.10.4
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64
--enable-objc-gc --with-arch-32=i586 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5)
The patch below fixed that:
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
be prevented from running the program without the root/non-root status of it
being relevant.
[1] Passing user_subvol_rm_allowed in option
--
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
programs.
I checked the debian package, and to me seems that there is no need of
{btrfsctl,btrfs-vol,btrfs-show}
BR
Goffredo
--
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
On 01/24/2013 08:42 PM, Eric Sandeen wrote:
On 1/24/13 11:57 AM, Goffredo Baroncelli wrote:
On 01/24/2013 10:23 AM, Stefan Behrens wrote:
On Wed, 23 Jan 2013 22:39:29 -0600, Eric Sandeen wrote:
instead of renaming keeping the btrfsctl.c copy
There is a new momentum to improve the Btrfs
--
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 5F7D
: 256
Generation (Gen): 75774
Gen at creation:0
Parent: 5
Top Level: 5
Snapshot(s):
I expected also from test1 and test2 something.
BR
G.Baroncelli
--
gpg @keyserver.linux.it: Goffredo Baroncelli
-by: Goffredo Baroncelli kreij...@inwind.it
ChangeLog
V1 - V2Removed the three different superblock and put
all the info in the same array (Thanks to Karel Zak
for the suggestion)
--
Btrfs has three superblock. The first one is placed
Hi Karel,
On 01/08/2013 07:01 PM, Karel Zak wrote:
On Sun, Jan 06, 2013 at 07:28:55PM +0100, Goffredo Baroncelli wrote:
If the first superblock is valid except that the magic field is zeroed,
btrfs skips the check of the other superblocks.
If the first superblock is fully invalid, btrfs
Hi Günter,
On 01/08/2013 04:48 PM, Günter Gersdorf wrote:
Am 06.01.2013 19:28, schrieb Goffredo Baroncelli:
You can pull the change from:
http://cassiopea.homelinux.net/git/util-linux.git
from the branch
btrfs-wipefs
After applying this patch, findfs and blkid didn't find
Hi David,
On 01/07/2013 05:33 PM, David Sterba wrote:
On Sun, Jan 06, 2013 at 07:28:55PM +0100, Goffredo Baroncelli wrote:
Currently wipefs doesn't clear all the superblock of btrfs. Only the first
one is cleared.
Btrfs has three superblocks. The first one is placed at 64KB, the second
would allow more than three super-block, in the 7TB
case, the super-block at 1TB would appeared
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
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 5F7D 17B2 0EDA 9B37 8B82 E0B5
--
To unsubscribe from
to zero also the other
superblocks.
I will start to update the wiki; then I will give a look to wipefs to
improve it.
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
On 01/06/2013 05:26 PM, Goffredo Baroncelli wrote:
Hi Chris
[...]
I will start to update the wiki; then I will give a look to wipefs to
improve it.
Hello I updated the wiki page:
https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#What_if_I_don.27t_have_wipefs_at_hand.3F
-
What
btrfs filesystem show /dev/loop0
Btrfs Btrfs v0.19
Br
G.Baroncelli
You can pull the change from:
http://cassiopea.homelinux.net/git/util-linux.git
from the branch
btrfs-wipefs
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
--
From
Reviewed-by: Goffredo Baroncelli kreij...@inwind.it
On 01/05/2013 03:48 AM, Jeff Liu wrote:
With this new ioctl(2) BTRFS_IOC_SET_FSLABEL, we can set/change the label of
a mounted file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
(BTRFS_IOCTL_MAGIC, 52, \
struct btrfs_ioctl_get_dev_stats)
#endif
--
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
/thread/nol2gcjky4cxndhv#query:+page:1+mid:xqnyqp7slb7rrach+state:results
--
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
Hi Jeff,
On 12/24/2012 09:07 AM, Jeff Liu wrote:
On 12/22/2012 01:36 AM, Goffredo Baroncelli wrote:
On 12/21/2012 07:42 AM, Jeff Liu wrote:
[...]
I don't think we should replace strlen() with strnlen() since it's
totally wrong if the length of label is more than BTRFS_LABEL_SIZE -1,
we can
@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
On 12/21/2012 07:42 AM, Jeff Liu wrote:
Hi Goffredo,
On 12/21/2012 04:18 AM, Goffredo Baroncelli wrote:
HI Jeff,
On 12/20/2012 09:43 AM, Jeff Liu wrote:
With the new ioctl(2) BTRFS_IOC_GET_FSLABEL we can fetch the label of a
mounted file system.
Signed-off-by: Jie Liu jeff
BTRFS_IOC_GET_FSLABEL _IOR(BTRFS_IOCTL_MAGIC, 49, \
+char[BTRFS_LABEL_SIZE])
#define BTRFS_IOC_GET_DEV_STATS _IOWR(BTRFS_IOCTL_MAGIC, 52, \
struct btrfs_ioctl_get_dev_stats)
#endif
--
gpg @keyserver.linux.it: Goffredo Baroncelli
On 12/20/2012 09:43 AM, Jeff Liu wrote:
With the new ioctl(2) BTRFS_IOC_SET_FSLABEL, we can set/change the label of a
mounted file system.
Signed-off-by: Jie Liu jeff@oracle.com
Signed-off-by: Anand Jain anand.j...@oracle.com
Cc: Miao Xie mi...@cn.fujitsu.com
Cc: Goffredo Baroncelli
, label,
BTRFS_LABEL_SIZE-1) ?
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 of a message to majord
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 Stefan,
great work. However I have a suggestion: what about putting all the
command under 'device' sub commands: something like:
- btrfs device replace old new /path
- btrfs device status /path
Where btrfs device status would show only the status of the
replacing operation; but in the
On 11/08/2012 06:31 PM, Stefan Behrens wrote:
On Thu, 8 Nov 2012 13:50:19 +0100, Goffredo Baroncelli wrote:
[...]
I think that so replace would be the natural extension to the add
and delete subcommands.
btrfs device replace old new path
was also my first idea. It used to be like
On 11/02/2012 08:05 PM, Gabriel wrote:
On Fri, 02 Nov 2012 13:02:32 +0100, Goffredo Baroncelli wrote:
On 2012-11-02 12:18, Martin Steigerwald wrote:
[...]
We could use Chunk(s) capacity instead of total/size ? I would like an
opinion from a english people point of view..
This is easy to fix
/dev/dm-4 1.00TB- 2x 100.00MB 4.00MB -300.00MB
GB
P.S:
The raid5 is composed by (4+1) x 1T and (2+1) x 0.5TB, supposing the
disks as 2x 1.5TB and 3x2Tb.
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA
On 11/02/2012 11:06 PM, Hugo Mills wrote:
non-integer with the RAID-5/6 code (which is due Real Soon Now).
Hi Hugo,
do you have more information about raid ? When it will land on the btrfs
earth ? :-)
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5
@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
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 9222580..27d0160 100644
--- a/man
From: Goffredo Baroncelli kreij...@inwind.it
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-fi-disk_usage.c | 662 +-
cmds-fi-disk_usage.h |2 +
cmds-filesystem.c|2 +
utils.c | 15 ++
utils.h
From: Goffredo Baroncelli kreij...@inwind.it
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-device.c|3 ++
cmds-fi-disk_usage.c | 140 ++
cmds-fi-disk_usage.h |4 ++
3 files changed, 147 insertions(+)
diff --git
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 eabf0a8..a411ff8 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -44,6
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 27d0160..eabf0a8 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8
From: Goffredo Baroncelli kreij...@inwind.it
Move scrub_fs_info() and scrub_dev_info() in utils.c because these
will be used by the command btrfs filesystem disk-usage and
btrfs device disk-usage.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-scrub.c | 87
From: Goffredo Baroncelli kreij...@inwind.it
Due to the moving of the scrub_fs_info() and scrub_device_info() in utils.h
the function open_file_or_dir() is moved in utils.c too, in order to avoid
the including of commands.h.
Moreover in btrfsctl.c the function open_file_or_dir() is renamed
an
opinion from a english people point of view..
GB
--
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
://cassiopea.homelinux.net/git/btrfs-progs-unstable.git
branch
super-block-dump
--
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
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
Makefile |5 +-
btrfs-show-super.c | 284
2 files changed, 288 insertions(+), 1 deletion(-)
create mode 100644 btrfs-show-super.c
diff --git a/Makefile b/Makefile
index
On 11/02/2012 08:05 PM, Gabriel wrote:
On Fri, 02 Nov 2012 13:02:32 +0100, Goffredo Baroncelli wrote:
On 2012-11-02 12:18, Martin Steigerwald wrote:
Metadata, DUP is displayed as 3,50GB on the device level and as 1,75GB
in total. I understand the logic behind this, but this could be a bit
://cassiopea.homelinux.net/git/btrfs-progs-unstable.git
branch
super-block-dump
Changelog:
v1-v2 Patch cleanup (removed unnecessary spaces to be compliant to the
kernel coding style)
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
Makefile |5 +-
btrfs-show-super.c | 284
2 files changed, 288 insertions(+), 1 deletion(-)
create mode 100644 btrfs-show-super.c
diff --git a/Makefile b/Makefile
index
that these labels could be changed (like xattr). ?
These info should be associated to the inode of the subvolume root. We
could use a specific name in the system namespace, like
system.btrfslabel even tough I didn't see any advantage to using the
user namespace...
--
gpg @keyserver.linux.it: Goffredo
the issue of the perror, I renamed in btrfsctl.c the
function open_file_or_dir() in btrfsctl_open_file_or_dir() in order to avoid
name collision.
G.Baroncelli
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
On 2012-10-30 10:42, Michael Kjörling wrote:
On 29 Oct 2012 23:21 +0100, from kreij...@gmail.com (Goffredo Baroncelli):
Hi all,
[...]
One thing, though; what is the difference between unused and
unallocated? If there is no difference, I feel the same word should
be used throughout.
I had
the patch from
http://cassiopea.homelinux.net/git/btrfs-progs-unstable.git
branch
parse_size
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
Changelog:
V3: Corrected few code style issues; replace a wrong prefix with suffix in
the man page. Added Signed-off-by in every patch
Replace the function atoll with strtoull(); Check that the suffix for the
parse_size() input is of only one character.
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
utils.c | 25 +++--
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/utils.c b
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
man/btrfs.8.in |3 +++
man/mkfs.btrfs.8.in |3 +++
2 files changed, 6 insertions(+)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 9222580..3564e6a 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -184,6 +184,9
Add new suffixes in parse_size() function. New suffixes are: T as
terabyte, P as petabyte, E as exabyte. Note these units are
multiply of 2 .
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
utils.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/utils.c b/utils.c
index
Move the function from cmds-filesystem.c and mkfs.c to utils.c
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
---
cmds-filesystem.c | 26 --
mkfs.c| 31 ---
utils.c | 26 ++
utils.h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2012-10-29 12:00, Stefan Behrens wrote:
On Tue, 23 Oct 2012 21:45:08 +0200, Goffredo Baroncelli wrote:
On 2012-10-19 09:18, Stefan Behrens wrote:
Just a small program to print the fields of a super block.
Signed-off-by: Stefan Behrens sbehr
the BTRFS_IOC_TREE_SEARCH
to get the chunk info; so that is unavoidable)
- --
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG
System,RAID1: 8.00MB
Plus we can have also Data+Metadata...
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2012-10-25 21:21, Goffredo Baroncelli wrote:
Hi all,
this is a new attempt to improve the output of the command btrfs
fi df.
Below you can see another iteration. I tried to address all the cwillu
requests, which to me make sense.
I thought
it would
be suitable to be used as root filesystem.
--
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
On 2012-10-28 11:33, Martin Steigerwald wrote:
Am Sonntag, 28. Oktober 2012 schrieb Goffredo Baroncelli:
[...]
$ sudo ./btrfs fi df /mnt/btrfs1/
Path: /mnt/btrfs1
Summary:
Disk_size: 21.00GB
Disk_allocated: 1.83GB
Disk_unallocated:19.17GB
Used
On 2012-10-28 11:38, Martin Steigerwald wrote:
Am Sonntag, 28. Oktober 2012 schrieb Goffredo Baroncelli:
On 2012-10-28 00:38, Hugo Mills wrote:
On Sun, Oct 28, 2012 at 12:30:44AM +0200, Martin Steigerwald wrote:
Am Samstag, 27. Oktober 2012 schrieb Michael Kjörling:
On 27 Oct 2012 18:43 +0200
On 2012-10-28 12:18, Michael Kjörling wrote:
On 28 Oct 2012 11:59 +0100, from kreij...@gmail.com (Goffredo Baroncelli):
On 2012-10-28 11:38, Martin Steigerwald wrote:
But still if if can be arbitrarily long due to that per object replication
config, a vertical output might and leaving
2.69GB
/dev/vdd 2.24GB
- --
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http
On 2012-10-25 18:13, David Sterba wrote:
Hi,
one minor typo
On Tue, Oct 23, 2012 at 07:51:55PM +0200, Goffredo Baroncelli wrote:
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -184,6 +184,9 @@ defragment operations.
\fB-t size\fP defragment only files at least \fIsize\fR bytes big
that not everything is
working. The complaints raise the attention level.
--
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
the_underscores_between_all_the_words; it
doesn't make parsing significantly easier, and it's an eyesore)
:-) we can work on that.
* Three coats of blue paint plus a clear-coat is the One True Paint-Job.
.
--
gpg @keyserver.linux.it: Goffredo Baroncelli (kreijackATinwind.it
Key fingerprint BBF5 1610 0B64 DAC6
want a confirmation.
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 of a message to majord
On 2012-10-24 21:13, Chris Murphy wrote:
On Oct 24, 2012, at 12:06 PM, Goffredo Baroncelli
kreij...@gmail.com wrote:
I was able to reproduce it:
- I filled the filesystem until I got No space left on device.
I didn't even need to get that far.
So it seems that I spread all
the patch from
http://cassiopea.homelinux.net/git/btrfs-progs-unstable.git
branch
parse_size
Signed-off-by: Goffredo Baroncelli kreij...@inwind.it
Changelog:
V1: avoid to change the parse_size argument;
better check of a wrong suffix;
force strtoull to use a decimal base
From: Goffredo Baroncelli kreij...@inwind.it
Replace the function atoll with strtoull()
---
utils.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils.c b/utils.c
index 705be7b..732c782 100644
--- a/utils.c
+++ b/utils.c
@@ -1243,6 +1243,6 @@ u64 parse_size(char *s
From: Goffredo Baroncelli kreij...@inwind.it
---
man/btrfs.8.in |3 +++
man/mkfs.btrfs.8.in |3 +++
2 files changed, 6 insertions(+)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 9222580..33bd78d 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -184,6 +184,9 @@ defragment
From: Goffredo Baroncelli kreij...@inwind.it
Add new suffixes in parse_size() function. New suffixes are: T as
terabyte, P as petabyte, E as exabyte. Note these units are
multiply of 2 .
---
utils.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/utils.c b/utils.c
index e61cdea
From: Goffredo Baroncelli kreij...@inwind.it
Check that the suffix for the parse_size() input is of only
one character.
---
utils.c | 25 +++--
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/utils.c b/utils.c
index 732c782..e61cdea 100644
--- a/utils.c
+++ b
From: Goffredo Baroncelli kreij...@inwind.it
Move the function from cmds-filesystem.c and mkfs.c to utils.c
---
cmds-filesystem.c | 26 --
mkfs.c| 31 ---
utils.c | 26 ++
utils.h
501 - 600 of 984 matches
Mail list logo