- ce-start;
if (map-type (BTRFS_BLOCK_GROUP_DUP | BTRFS_BLOCK_GROUP_RAID1))
ret = map-num_stripes;
else if (map-type BTRFS_BLOCK_GROUP_RAID10)
--
Chris Ball c...@laptop.org http://printf.net/
One Laptop Per Child
--
To unsubscribe from this list: send the line
errors while writing supers\n,
total_errors);
BUG();
}
in write_all_supers(). Does dmesg say anything about the nature of
the errors above the BUG() line?
- Chris.
--
Chris Ball
crash? If the crash happens on -rc5 but
not the older kernel (what revision is the older kernel?), that's
extremely interesting.
Josef/Chris, any knowledge about hitting this BUG() on -rc5?
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list: send the line
a
hardware problem, assuming it's coded correctly. dmesg would tell us
for sure, because the I/O error would be reported above the BUG()
output.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body
Hi,
In stead, df reports the size of the partition to be about
60GB. For each GB written to the partition, 2GB gets used.
https://btrfs.wiki.kernel.org/index.php/FAQ#Why_does_df_show_incorrect_free_space_for_my_RAID_volume.3F
--
Chris Ball c...@laptop.org
One Laptop Per Child
Hi,
Is doesn't return, I check top and both ls and flush-btrfs-1 are
sitting at ~50% sys usage each.
Does anything new appear in dmesg when the hang happens? Can you run
alt-sysrq-t (show tasks) and send us the output for the ls process?
- Chris.
--
Chris Ball c...@laptop.org
One
, then discard the rest.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
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
be clearer about what stability
means. This was just fio testing; it doesn't say anything about
resilience to crashes, power offs, or the presence of corruption.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs
Hi,
Is it possible to turn a 1-disk (partition) btrfs filesystem into
RAID-1?
Not yet, but I'm pretty sure it's on the roadmap.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message
all the way up from the hardware;
I don't think this is a btrfs problem.
There's not much btrfs could do to help, except (over time) grow
to handle I/O errors without BUG()ing out.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list: send the line unsubscribe
-- we shouldn't bother this list with any
results other than the final summary.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
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
Hi,
adding a --wait or --sync switch to the delete command is
certainly possible, you'd want to add it to the last in a series
of deletes.
I think this (--sync) is a much better idea than the alternatives so far.
Thanks,
--
Chris Ball c...@laptop.org http://printf.net/
One
also talked about making snapshot _creation_ perform an
FS sync first by default, since otherwise you get a snapshot with stale
files, or without files that existed (not yet on disk) at creation-time.
- Chris.
--
Chris Ball c...@laptop.org http://printf.net/
One Laptop Per Child
writes to the
FS have finished, and is even more unwilling to wait for all writes
on the rest of the system to finish.
I don't know whether that's actually a reasonable/plausible use case,
though.
- Chris.
--
Chris Ball c...@laptop.org http://printf.net/
One Laptop Per Child
Hi,
How can one char equal two chars?
input[i] == '\\'
If the first char is the C escape sequence for string literals. :)
- Chris.
--
Chris Ball c...@laptop.org http://printf.net/
One Laptop Per Child
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs
to corrupt a filesystem irrecoverably if your machine crashes or
loses power. This will be fixed when the fsck tool is ready.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message
() on verify_parent_transid()
failure sound plausible.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
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
the deadlock
there?
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
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
Hi,
I'm trying to create a raid1 (mirrored) raid using two 1 Tb
disks. The result is something twice as large as it should be
fore mirrored raid.
https://btrfs.wiki.kernel.org/index.php/FAQ#Why_does_df_show_incorrect_free_space_for_my_RAID_volume.3F
--
Chris Ball c...@laptop.org
Hi,
moving along to a question... can the default subvolume be
swapped/removed/renamed/popped/shifted?
I think btrfs subvolume list; btrfs subvolume set-default id path
does what you need.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list
;
+ /* do not allow sys_link's with other subvols of the same device */
+ if (root-objectid != BTRFS_I(inode)-root-objectid)
+ return -EPERM;
+
/*
* 1 item for inode ref
* 2 items for dir items
--
Chris Ball c...@laptop.org
One Laptop Per Child
make more sense, but for the time being just
ignore df.
Added to:
http://btrfs.wiki.kernel.org/index.php/FAQ#Why_does_df_show_incorrect_free_space_for_my_RAID_volume.3F
since we're often seeing this question on the list and IRC.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
because we decided to block further writes from that process
before we took the snapshot. The only real answer is to quiesce the
writer process before you begin. Does that make sense?
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list: send the line
creation to be available,
but was amenable to the idea of changing the default to be sync before
snapshot, since it was pointed out that no-one other than him had
understood we were supposed to be running sync first.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe
a read-only -pristine version of that snapshot and have
tools that base your read-write snapshots on that.
I don't think it would be possible for any filesystem to handle
changing snapshot on a mounted filesystem with files open, so it
makes sense that it's a remount operation.
- Chris.
--
Chris
;
+}
+
int btrfs_make_block_group(struct btrfs_trans_handle *trans,
struct btrfs_root *root, u64 bytes_used,
u64 type, u64 chunk_objectid, u64 chunk_offset,
--
1.5.4.3
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from
Hi,
btrfsctl -D ext2_saved/
ioctl:: Invalid argument
It's merged (during 2.6.32) -- I think you just have the wrong syntax.
See http://btrfs.wiki.kernel.org/index.php/Btrfsctl.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list: send the line
running btrfsctl -a in an initrd? It's necessary to do that
before the mount call on a multi-disk volume.
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
/users/palimpsest/stable/intro.html.en
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
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
that is? This should
work, after gdb btrfs.ko:
(gdb) list *btrfs_set_acl+0x87
- Chris.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
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
We currently set sb-s_flags |= MS_POSIXACL unconditionally, which is
incorrect -- it tells the VFS that it shouldn't set umask because we
will, yet we don't set it ourselves if we aren't using POSIX ACLs, so
the umask ends up ignored.
Signed-off-by: Chris Ball c...@laptop.org
---
fs/btrfs
.
--
Chris Ball c...@laptop.org
One Laptop Per Child
--
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
If we're waiting for a transaction to end, and it started more than five
minutes ago, emit a warning.
Signed-off-by: Chris Ball c...@laptop.org
---
fs/btrfs/transaction.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
and Josef, for the patient explanations.)
==
From: Chris Ball c...@laptop.org
Btrfs: When shrinking, only update disk size on success
Previously, we updated a device's size prior to attempting a shrink
operation. This patch moves the device resizing logic to only happen if
the shrink completes
);
+ unlock_chunks(root);
+ btrfs_end_transaction(trans, root);
+
done:
btrfs_free_path(path);
return ret;
--
Chris Ball c...@laptop.org
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo
Before this patch, new files/dirs would ignore the SGID bit on their
parent directory and always be owned by the creating user's uid/gid.
Signed-off-by: Chris Ball c...@laptop.org
---
fs/btrfs/inode.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs
36 matches
Mail list logo