On Sun, 10 Mar 2013 22:31:08 -0700
Michael Johnson - MJ m...@revmj.com wrote:
What I now suspect is going on is that while deleting the snapshots
was quick, that probably kicks of a background thread which actually
does the heavy lifting.
Exactly that, the snapshot deletion only syncs on
On Mon, Mar 11, 2013 at 12:11:43PM +0600, Roman Mamedov wrote:
On Sun, 10 Mar 2013 22:31:08 -0700
Michael Johnson - MJ m...@revmj.com wrote:
What I now suspect is going on is that while deleting the snapshots
was quick, that probably kicks of a background thread which actually
does the
On Sun, Mar 10, 2013 at 11:55:10PM +, sam tygier wrote:
On 09/03/13 20:31, Hugo Mills wrote:
Some time ago, and occasionally since, we've discussed altering the
RAID-n terminology to change it to an nCmSpP format, where n is the
number of copies, m is the number of (data) devices in
Using spinning case instead of blocking will result in better concurrency
overall.
Signed-off-by: Liu Bo bo.li@oracle.com
---
fs/btrfs/inode.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 13ab4de..1f26 100644
---
Remove an useless function claim.
Signed-off-by: Liu Bo bo.li@oracle.com
---
fs/btrfs/locking.h |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/locking.h b/fs/btrfs/locking.h
index ca52681..b81e0e9 100644
--- a/fs/btrfs/locking.h
+++ b/fs/btrfs/locking.h
@@
Add '--si', '-h'/'--human-readable' and '--block-size' global options,
which allow users to customize the way sizes are displayed.
Options and their format tries to mimic GNU ls utility.
Signed-off-by: Audrius Butkevicius audrius.butkevic...@elastichosts.com
---
btrfs.c |3 ++
utils.c |
Le 11/03/2013 07:47, Liu Bo a écrit :
A recent commit(commit fa6ac8765c48a06dfed914e8c8c3a903f9d313a0
Btrfs: fix cleaner thread not working with inode cache option)
may improve the situation.
Hi Liu,
I have never seen this issue with btrfs-cleaner not working, when I
delete snapshots it
Hi,
I use ionice -c 3 command to run some low-priority background tasks
(i.e. tar, big file copies, or performing checksums sur very big files)
using the disk only when idle, which would be supposed to have very
little impact on my system performance meanwhile.
I can be pretty sure that those
ping..
Hello, Arne
Steps to reproduce:
mkfs.btrfs disk
mount disk mnt
btrfs quota enable mnt
btrfs sub create mnt/sub
btrfs qgroup create 1/1 mnt
btrfs qgroup assign sub_qgroupid 1/1
Hello,
Add '--si', '-h'/'--human-readable' and '--block-size' global options,
which allow users to customize the way sizes are displayed.
why not use the function getopt_long() to complete the parsing.
Never Re-inventing the wheel again.
As discussed before, better not use 'exit(1)' in
Hi,
Which IO scheduler do you use? I used to have terrible read
performance during a btrfs scrub until I switched the disk scheduler
from deadline to cfq.
Cheers, Dan
On Mon, Mar 11, 2013 at 11:26 AM, Swâmi Petaramesh sw...@petaramesh.org wrote:
Hi,
I use ionice -c 3 command to run some
On 10.03.2013 05:21, Shilong Wang wrote:
Hello, Arne
Steps to reproduce:
mkfs.btrfs disk
mount disk mnt
btrfs quota enable mnt
btrfs sub create mnt/sub
btrfs qgroup create 1/1 mnt
Hello,
On 10.03.2013 05:21, Shilong Wang wrote:
Hello, Arne
Steps to reproduce:
mkfs.btrfs disk
mount disk mnt
btrfs quota enable mnt
btrfs sub create mnt/sub
btrfs qgroup create 1/1 mnt
On 11.03.2013 14:31, Wang Shilong wrote:
Hello,
snip
In fact, i think you try to put some work on users, especially when
snapshot happens.
It is complex to track all the group's accounting when having
snapshots..See the following
commands.
btrfs sub snapshot -c
On Sun, Mar 10, 2013 at 11:49:53PM +, Hugo Mills wrote:
Using an asterisk '*' in something will be used as a command line argument
risks having the shell expand it. Sticking to pure alphanumeric names would
be better.
Yeah, David's just pointed this out on IRC. After a bit of
snip
The worst thing is that i don't think users can master this magic
concept very well.
Normally users don't need very sophisticated scenarios. In fact, they
don't even need higher level quota groups, the basic tracking is
enough. In this case, everything just works as expected for the
On 11.03.2013 15:15, Wang Shilong wrote:
snip
The worst thing is that i don't think users can master this magic
concept very well.
Normally users don't need very sophisticated scenarios. In fact, they
don't even need higher level quota groups, the basic tracking is
enough. In this case,
On 11.03.2013 15:15, Wang Shilong wrote:
snip
The worst thing is that i don't think users can master this magic
concept very well.
Normally users don't need very sophisticated scenarios. In fact, they
don't even need higher level quota groups, the basic tracking is
enough. In this
On 11.03.2013 15:35, Wang Shilong wrote:
On 11.03.2013 15:15, Wang Shilong wrote:
snip
The worst thing is that i don't think users can master this magic
concept very well.
Normally users don't need very sophisticated scenarios. In fact, they
don't even need higher level quota groups,
Hi,
this set contains help text updates, the series from Eric and my fix to mkfs
superblock checksum (now needed to mount a new filesystem when the kernel-side
check is in place -- applies to current btrfs-next).
git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130311
david
On Sun, Mar 10, 2013 at 10:31:08PM -0700, Michael Johnson - MJ wrote:
I currently have a btrfs filesystem that I am unmounting and it has
been has been unmounting for the last 20 minutes.
I'm pretty sure I know exactly what is going on and in my current
situation it's not a huge issues, but
On 3/8/13 9:25 AM, Anand Jain wrote:
bug:
---
mkfs.btrfs /dev/sdb -f yes| mkfs.ext4 /dev/sdb mount /dev/sdb /ext4
mkfs.btrfs -f /dev/sdc /dev/sdd (run twice)
mkfs.btrfs -f /dev/sdc /dev/sdd
::
ERROR: unable to scan the device '/dev/sdb' - Device or resource busy
ERROR: unable to scan
On Mon, Mar 11, 2013 at 11:20:15AM +0100, Swâmi Petaramesh wrote:
Le 11/03/2013 07:47, Liu Bo a écrit :
A recent commit(commit fa6ac8765c48a06dfed914e8c8c3a903f9d313a0
Btrfs: fix cleaner thread not working with inode cache option)
may improve the situation.
Hi Liu,
I have never seen
Signed-off-by: David Sterba dste...@suse.cz
---
fs/btrfs/super.c |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 68a29a1..eed1464 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -91,7 +91,7 @@ static const char
The transaction abort stacktrace is printed only once per module
lifetime, but we'd like to see it each time it happens per filesystem.
Introduce a fs_state flag that records the state.
Tweak the messages around abort:
* add error number to the first abor
* print the exact negative errno from
On Mon, Mar 11, 2013 at 04:16:34PM +0100, Clemens Eisserer wrote:
When running ...
dd if=/dev/zero of=testfile bs=1M
on a compressed btrfs volume of 4GB mounted with compress=lzo, dd
aborts after about 20GB written.
# mkfs 4g
# dd if=/dev/zero of=testfile bs=1M
dd: writing `testfile': No
On Mon, Mar 11, 2013 at 05:20:58PM +0800, Liu Bo wrote:
Using spinning case instead of blocking will result in better concurrency
overall.
Do you have numbers to support that?
david
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to
On Sun, Mar 10, 2013 at 10:31:08PM -0700, Michael Johnson - MJ wrote:
I currently have a btrfs filesystem that I am unmounting and it has
been has been unmounting for the last 20 minutes.
I'm pretty sure I know exactly what is going on and in my current
situation it's not a huge issues, but
On Mon, Mar 11, 2013 at 10:03:46AM -0500, Eric Sandeen wrote:
IMHO, nothing should be checking the backup superblocks unless explicitly
told to.
That's the whole point I believe.
update the infrastructure, every SB access looks to the first copy
unless told by command line options.
david
--
* print the exact negative errno from btrfs_decode_error and
don't expect a simple snprintf to fail
What an.. odd function. Looks like it was inherited from ext*. And the
callers over in that neck of the woods also don't check for the
implemented-but-basically-impossible snprintf failure
Hi,
Just installed 3.9.0-rc2 and the latest btrfs-progs.
filesystem is a 4 disk raid1 array.
first, i did the following: `btrfs val start -dconvert=raid5,usage=1` to
convert the mostly empty chunks.
This resulted in a lot of allocated space (10's of gigs), with only a few 100
meg used.
i did
Signed-off-by: Hugo Mills h...@carfax.org.uk
---
man/btrfs.8.in | 16
man/mkfs.btrfs.8.in | 24 +++-
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 94f4ffe..4072510 100644
--- a/man/btrfs.8.in
+++
Balance filters are the second location which takes user input of
replication levels. Update this to use the common parser so that we can
provide nCmSpP-style names.
Signed-off-by: Hugo Mills h...@carfax.org.uk
---
cmds-balance.c | 23 ---
1 file changed, 8 insertions(+),
Make parse_profile a shared function so it can be used across the
code-base.
Signed-off-by: Hugo Mills h...@carfax.org.uk
---
mkfs.c | 94 ---
utils.c | 94 +++
utils.h |
Signed-off-by: Hugo Mills h...@carfax.org.uk
---
cmds-filesystem.c | 173 ++---
1 file changed, 152 insertions(+), 21 deletions(-)
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 2210020..3150ff7 100644
--- a/cmds-filesystem.c
+++
Some time ago, and occasionally since, we've discussed altering the
RAID-n terminology to change it to an NcMsPp format, where N is the
number of copies, M is the number of (data) devices in a stripe per copy,
and P is the number of parity devices in a stripe.
The current kernel
Teach mkfs.btrfs about ncmspp format for replication levels, which avoids
the semantic uncertainty over the RAID-XYZ naming.
Signed-off-by: Hugo Mills h...@carfax.org.uk
---
mkfs.c | 91 +++-
1 file changed, 84 insertions(+), 7
On 11 March 2013 10:12, Audrius Butkevicius
audrius.butkevic...@elastichosts.com wrote:
Add '--si', '-h'/'--human-readable' and '--block-size' global options,
which allow users to customize the way sizes are displayed.
Options and their format tries to mimic GNU ls utility.
Signed-off-by:
Static mkfs.btrfs can be used to bootstrap a system from a live CD
which does not provide mkfs.btrfs.
The executable produced is named mkfs.btrfs.static and built by invoking
the static make rule.
Signed-off-by: Antoine Sirinelli anto...@monte-stello.com
---
Makefile |9 +++--
1 file
Since the updates for linux-3.9 I've had three or four times a system
freeze and only a reset (Magic SysRq) helped. After the reboot I found
a bunch of this in syslog:
Mar 11 21:56:09 localhost kernel: [ cut here ]
Mar 11 21:56:09 localhost kernel: WARNING: at
On Mon, Mar 11, 2013 at 12:02:09PM -0700, Zach Brown wrote:
No worries if you're not keen to fix it up, but it'd be nice. One less
wart to be distracted by when stumbling through the code.
I'll gladly update the code, thanks for the hints and comments.
david
--
To unsubscribe from this list:
Add 3 new helpers:
* is_block_device(), to test if a path is a block device.
* get_btrfs_mount(), to get the mountpoint of a device,
if mounted.
* open_path_or_dev_mnt(path), to open either the pathname
or, if it's a mounted btrfs dev, the mountpoint. Useful
for some commands which can
get_fs_info() has been silently switching from a device to a mounted
path as needed; the caller's filehandle was unexpectedly closed
reopened outside the caller's scope. Not so great.
The callers do want fdmnt to be the filehandle for the mount point
in all cases, though - the various ioctls
Somehow missed these 2 in the last round.
Signed-off-by: Eric Sandeen sand...@redhat.com
---
utils.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/utils.c b/utils.c
index f68436d..1c73d67 100644
--- a/utils.c
+++ b/utils.c
@@ -1217,6 +1217,7 @@ static int
The first patch is a trival close of fd on function returns, somehow
missed that last go-round.
The next 3 are a little more substantial, working to avoid the nasty
behavior of get_fs_info, closing re-opening the callers' filehandle
out of scope, if it needs to switch from device node to
cmd_scrub_cancel had its own mountpoint discovery routine;
just use open_path_or_dev_mnt() for that now.
Signed-off-by: Eric Sandeen sand...@redhat.com
---
cmds-scrub.c | 53 +
1 files changed, 17 insertions(+), 36 deletions(-)
diff --git
On 3/11/13 6:13 PM, Eric Sandeen wrote:
get_fs_info() has been silently switching from a device to a mounted
path as needed; the caller's filehandle was unexpectedly closed
reopened outside the caller's scope. Not so great.
The callers do want fdmnt to be the filehandle for the mount point
My laptop crashed hard earlier today. It reset immediately to a black
screen followed by the BIOS. I have no idea why.
However, it now fails to boot. I took a picture of the kernel panic
that results from trying to mount the root filesystem:
On Mon, Mar 11, 2013 at 11:44 PM, Matthew Booth matt...@heisenbug.com wrote:
My laptop crashed hard earlier today. It reset immediately to a black
screen followed by the BIOS. I have no idea why.
However, it now fails to boot. I took a picture of the kernel panic
that results from trying to
On Mon, Mar 11, 2013 at 11:49 PM, Harald Glatt m...@hachre.de wrote:
On Mon, Mar 11, 2013 at 11:44 PM, Matthew Booth matt...@heisenbug.com wrote:
My laptop crashed hard earlier today. It reset immediately to a black
screen followed by the BIOS. I have no idea why.
However, it now fails to
If you are going to use btrfs-zero-log please create a btrfs-image
first that you can then upload to a bug report so that this can be
fixed.
# btrfs-image -c 9 -t 8 /dev/yourbtrfs /tmp/fs_image
On Mon, Mar 11, 2013 at 11:53 PM, Jan Steffens jan.steff...@gmail.com wrote:
On Mon, Mar 11, 2013 at
Hi Chris,
please pull this integration branch
git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130227
so far no problems reported (which may also mean that nobody is using
it), worked in my test setups and I've tested the label get/set patches
specifically.
thanks,
david
On
On Mon, Mar 11, 2013 at 04:44:58PM -0600, Matthew Booth wrote:
My laptop crashed hard earlier today. It reset immediately to a black
screen followed by the BIOS. I have no idea why.
However, it now fails to boot. I took a picture of the kernel panic
that results from trying to mount the root
On Mon, Mar 11, 2013 at 10:34:04PM +0100, Johannes Hirte wrote:
Since the updates for linux-3.9 I've had three or four times a system
freeze and only a reset (Magic SysRq) helped. After the reboot I found
a bunch of this in syslog:
Mar 11 21:56:09 localhost kernel: [ cut here
On Mon, Mar 11, 2013 at 06:26:40PM +0100, David Sterba wrote:
On Mon, Mar 11, 2013 at 05:20:58PM +0800, Liu Bo wrote:
Using spinning case instead of blocking will result in better concurrency
overall.
Do you have numbers to support that?
Sorry, I don't, just judging from what
get_fs_info() has been silently switching from a device to a mounted
path as needed; the caller's filehandle was unexpectedly closed
reopened outside the caller's scope. Not so great.
The callers do want fdmnt to be the filehandle for the mount point
in all cases, though - the various ioctls
56 matches
Mail list logo