ap on Newegg!!!
Yes, the read errors are coming 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
One Laptop Per Child
--
To unsubscribe f
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
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the b
ice to see, but we should 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
One Laptop Per Child
--
To unsubscribe from this list: send the line "uns
a to the front of
the drive, then discard the rest.
--
Chris Ball
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,
> 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
One
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
One Laptop Per Child
--
To unsub
cient operation for enumerating subvolumes and snapshots,
and how will that work? We're going to want tools like plymouth and
grub to be able to list all snapshots without running a large scan.
Thanks,
- Chris.
--
Chris Ball
One Laptop Per Child
--
To unsubscribe from this list: send t
rs above the BUG() line?
- Chris.
--
Chris Ball
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
;ve reverted to your older kernel
because you had another -rc5 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
One Laptop Per
UG() does suggest 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
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs&q
67,14 +865,12 @@ int btrfs_num_copies(struct btrfs_mapping_tree *map_tree,
u64 logical, u64 len)
struct cache_extent *ce;
struct map_lookup *map;
int ret;
- u64 offset;
ce = find_first_cache_extent(&map_tree->cache_tree, logical);
BUG_ON
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
---
fs/btrfs/inode.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/
later resize.
Thanks!
Signed-off-by: Chris Ball
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 1316139..e2fa072 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -1815,30 +1815,8 @@ int btrfs_shrink_device(struct btrfs_device *device, u64
new_size)
if
n.
(Thanks, Yan and Josef, for the patient explanations.)
==
From: Chris Ball
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 comple
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
---
fs/btrfs/transaction.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index f9
).
Signed-off-by: Chris Ball
---
btrfs-show.c |2 +-
btrfsctl.c | 11 ---
utils.c | 17 +++--
utils.h |2 +-
4 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/btrfs-show.c b/btrfs-show.c
index c49626c..91e0e43 100644
--- a/btrfs-show.c
+
lone_range_args {
#define BTRFS_IOC_SUBVOL_CREATE _IOW(BTRFS_IOCTL_MAGIC, 14, \
struct btrfs_ioctl_vol_args)
+#define BTRFS_IOC_COMPR_SIZE _IO(BTRFS_IOCTL_MAGIC, 15)
#endif
--
Chris Ball
--
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
a single ioctl that accepts a new set of flags?
Thanks,
- Chris.
--
Chris Ball
--
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
d not be sufficient.
- Chris.
--
Chris Ball
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
We've already defined CONFIG_BTRFS_POSIX_ACL in Kconfig, but we're
currently not using it and are testing CONFIG_FS_POSIX_ACL instead.
CONFIG_FS_POSIX_ACL states "Never use this symbol for ifdefs".
Signed-off-by: Chris Ball
---
fs/btrfs/acl.c |6 +++---
fs/btrfs/c
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
---
fs/btrfs/su
that is? This should
work, after gdb btrfs.ko:
(gdb) list *btrfs_set_acl+0x87
- Chris.
--
Chris Ball
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://
of "mkfs.btrfs -m raid0/1 -d raid0/1
/dev/sda /dev/sdb". Is it possible to create this non-destructively
now? If not, should it be? What would the implementation look like?
Thanks,
- Chris.
--
Chris Ball
One Laptop Per Child
--
To unsubscribe from this list: send the line "u
Hi Prasad,
> This works really fine, but there should be a way to list the
> number of device and device names added to the file system. Is
> there any way to get that list?
btrfs-show does this.
- Chris.
--
Chris Ball
One Laptop Per Child
--
To unsubscribe from this list:
the
changes that the package manager made, so it wouldn't be correct to
think of this as a way to only rollback package manager transactions.
- Chris.
--
Chris Ball
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the
http://library.gnome.org/users/palimpsest/stable/intro.html.en
--
Chris Ball
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
ux-2.6.32.2 and
> 2.6.33-rc2.
Are you running "btrfsctl -a" in an initrd? It's necessary to do that
before the mount call on a multi-disk volume.
- Chris.
--
Chris Ball
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs"
struct btrfs_root *root, u64 bytes_used,
u64 type, u64 chunk_objectid, u64 chunk_offset,
--
1.5.4.3
--
Chris Ball
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
break;
+
+ cache = (struct btrfs_block_group_cache *)(unsigned long)ptr;
+ total += btrfs_block_group_used(&cache->item);
+ start = end + 1;
+ }
+
+ return total;
+}
+
int btrfs_make_block_group(struct btrfs_trans_handle *trans,
Hi,
> Will this also fix the directory that i can't delete?
No, I think you need "btrfsctl -D" for that.
- Chris.
--
Chris Ball
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to ma
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
One Laptop Per Child
--
To unsubscribe from this list: send the line &
t's a remount operation.
- Chris.
--
Chris Ball
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
ult;
cmason wants the no-sync version of snapshot 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
One
ically, and the concurrent writes are
missed 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
One Laptop Per Child
--
To unsubscribe from
> for RAID stuff 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
One
ink'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
One Laptop Per Child
--
To unsubscribe from this list:
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 "
does what you need.
- Chris.
--
Chris Ball
One Laptop Per Child
--
To unsubscribe from this lis
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
n't
notice). Does anyone have suggestions on how to break the deadlock
there?
- Chris.
--
Chris Ball
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
cause
we can just do a good job all the time only works if it's actually
true that we can do a good job all the time, and I don't think that's
true here. So, I still support user control of the per-inode flag.
(I agree about the subvol flags; I think being able to set quotas and
compres
stable machine, it is currently possible
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
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-btrf
ver happened and sync the
transids", or "do something other than BUG() on verify_parent_transid()
failure" sound plausible.
- Chris.
--
Chris Ball
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,
> 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 <http://printf.net
f the
> tree.
Yeah. We've 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 <http://printf.net/>
On
vol delete
has happened, but is unwilling to wait until all other 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
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 <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubs
g
everyone reply on-list -- we shouldn't bother this list with any
results other than the final summary.
- Chris.
--
Chris Ball
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kerne
47 matches
Mail list logo