Am Samstag, 16. Juni 2012 schrieb Martin Steigerwald:
Am Samstag, 16. Juni 2012 schrieb Martin Steigerwald:
Am Samstag, 16. Juni 2012 schrieb Martin Steigerwald:
merkaba:~ date ; btrfs scrub status /mnt/amazon-daten
Sa 16. Jun 22:06:33 CEST 2012
scrub status for
This patchset introduces the btrfs filesystem property command. It is the
result of a discussion we had on IRC. I tried to make the properties
interface as generic and extensible as possible. Comments are welcome.
Currently the command looks like this:
btrfs fi prop /path/to/object [name[=value]]
Btrfs send/receive needs this ioctl to make a subvolume
r/o after it was received.
---
ioctl.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/ioctl.h b/ioctl.h
index f2e5d8d..d6311f6 100644
--- a/ioctl.h
+++ b/ioctl.h
@@ -312,6 +312,8 @@ struct btrfs_ioctl_logical_ino_args {
Needed by btrfs fi prop.
Signed-off-by: Alexander Block abloc...@googlemail.com
---
btrfs.c| 17 ++---
commands.h |2 --
help.c |2 ++
utils.c| 15 +++
utils.h|3 +++
5 files changed, 22 insertions(+), 17 deletions(-)
diff --git a/btrfs.c
btrfs filesystem property is a generic interface to set/get
properties on filesystem objects (inodes/subvolumes/roots/devs).
This patch adds the generic framework for properties and also
implements two properties. The first is the read-only property
for subvolumes and the second is the label
Make filesystem_cmd_group non const so that btrfs fi prop can
generate the usage string at runtime. The commands member of
struct cmd_group is also non const now.
Signed-off-by: Alexander Block abloc...@googlemail.com
---
cmds-filesystem.c |2 +-
commands.h|4 ++--
2 files
get_label prints the label at the moment. Change this so that
the label is returned and printing is done by the caller.
Also bail out when open_ctree failed to avoid a crash when btrfs fi
label is called on a device with no btrfs on it.
Signed-off-by: Alexander Block abloc...@googlemail.com
---
I've removed this patch in the mean time. It was needed to build the
usage string
for btrfs fi props at runtime but I found a solution to do this at
compile time now.
On Sun, Jun 24, 2012 at 11:20 PM, Alexander Block
abloc...@googlemail.com wrote:
Make filesystem_cmd_group non const so that
On Thu, 2012-06-14 at 12:28 +0200, David Sterba wrote:
On Thu, Jun 14, 2012 at 05:34:29AM +0100, Ben Hutchings wrote:
?? (Giorgos?) reports:
Namely, being inside a snapshot directory, I can't create a file/directory
with the name of the snapshot directory.
For example,
On Sat, Jun 16, 2012 at 3:23 PM, Martin Steigerwald mar...@lichtvoll.de wrote:
[251818.022631] [ cut here ]
[251818.022714] WARNING: at
/media/data/mattems/src/linux-2.6-3.4.1/debian/build/source_amd64_none/fs/btrfs/extent_io.c:4522
read_extent_buffer+0x43/0xf0
10 matches
Mail list logo