Displaying 20 results from an estimated 70000 matches similar to: "No Btrfs conf call today"
2013 Feb 20
2
btrfs doesn't report proper error when removing subvolume
Hi.
petrb@bots-bnr1:/mnt$ btrfs subvolume delete ext2_saved/
Delete subvolume ''/mnt/ext2_saved''
ERROR: cannot delete ''/mnt/ext2_saved''
this is not really very descriptive. It would be really cool if it
told me why it can''t delete it.
For example:
Permission denied. Cannot delete ...
Disk write error. Cannot delete
Descriptive error messages
2013 Oct 21
1
Re: [patch] Btrfs: fix access_ok() check in btrfs_ioctl_send()
On Thu, Jan 10, 2013 at 11:57:25AM +0300, Dan Carpenter wrote:
> The closing parenthesis is in the wrong place. We want to check
> "sizeof(*arg->clone_sources) * arg->clone_sources_count" instead of
> "sizeof(*arg->clone_sources * arg->clone_sources_count)".
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Original message id:
2009 Jun 11
4
[BUG] Cannot Mount Btrfs Volume Created By mkfs.btrfs v0.18-26-g0030f1d
Hi,
I try to format a USB memory with a Btrfs. I can format it with
mkfs.btrfs without problems. But; when I try to mount it, it fails to
mount with the below error messages. But the USB memory works fine with
other filesystems (ext4, XFS etc.). So, the hardware is not faulty.
tarkane@tarkane:~$ sudo mkfs.btrfs -d single -n 4096 /dev/sdb1
WARNING! - Btrfs v0.18-26-g0030f1d IS EXPERIMENTAL
2012 Nov 14
0
fs/btrfs/volumes.c:1505:1: warning: label 'error_close' defined but not used
tree: git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git master
head: 0cb8658e96f1ba2ff2d730224cb31e231edd318d
commit: 7017ac470ed5b029bc683883714a7f4a4ed34c33 Btrfs: move some common code into a subfunction
date: 2 days ago
config: make ARCH=x86_64 allyesconfig
All warnings:
fs/btrfs/volumes.c: In function ''btrfs_rm_device'':
fs/btrfs/volumes.c:1505:1:
2009 Jan 16
4
[PATCH] Btrfs: simplify iteration codes
merge list_for_each and list_entry to list_for_each_entry.
Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index b187b53..70f0248 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -104,10 +104,8 @@ static noinline struct btrfs_device *__find_device(struct list_head *head,
u64 devid, u8 *uuid)
{
struct
2009 Jun 16
2
Btrfs rescue images
Hello everyone,
As Linus discovered, the new btrfs disk format in 2.6.31-git can be
problematic if your FS gets forward rolled to the new format and you end
up bisecting back to the old code.
It would also be nice to have a way to run btrfsck on a root filesystem
and do other assorted tasks. So, I''m making live boot usb images for
both x86 and x86-64.
They should have enough to get
2009 Jul 06
1
[Patch v3] btrfs: use file_remove_suid() after i_mutex is held
V2 -> V3:
set ''err'' to -ENOMEM when kmalloc() fails. Thanks to Tao.
V1 -> V2:
Move kmalloc() before mutex_lock(), suggested by Arjan.
file_remove_suid() should be called with i_mutex held,
file_update_time() too. So move them after mutex_lock().
Plus, check the return value of kmalloc().
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Arjan
2009 Jul 06
2
[Patch v2] btrfs: use file_remove_suid() after i_mutex is held
V1 -> V2:
Move kmalloc() before mutex_lock(), suggested by Arjan.
file_remove_suid() should be called with i_mutex held,
file_update_time() too. So move them after mutex_lock().
Plus, check the return value of kmalloc().
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Arjan <arjan@infradead.org>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Yan Zheng
2012 Jun 11
0
[PATCH] Btrfs: call filemap_fdatawrite twice for compression V2
I removed this in an earlier commit and I was wrong. Because compression
can return from filemap_fdatawrite() without having actually set any of it''s
pages as writeback() it can make filemap_fdatawait() do essentially nothing,
and then we won''t find any ordered extents because they may not have been
created yet. So not only does this make fsync() completely useless, but it
will
2009 Jan 19
4
[Patch] Btrfs: use BTRFS_VOL_NAME_MAX for struct btrfs_ioctl_vol_args
I found userspace tool, btrfsctl, uses BTRFS_VOL_NAME_MAX, and
it also looks that this one is more proper.
Kill BTRFS_PATH_NAME_MAX since no one will use it.
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Cc: Chris Mason <chris.mason@oracle.com>
---
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index c2aa33e..f229950 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -472,7
2011 Jul 03
1
will mkfs.btrfs do an initial pre-discard for SSDs like mke2fs does for Ext4?
Hi all,
are there any plans that future versions of mkfs.btrfs will do an
initial pre-discard for SSDs? (AFAIK mkfs.btrfs does not do this
currently)
For Ext4, mke2fs does this with the -E discard option.
From the mke2fs manpage:
-E discard
Attempt to discard blocks at mkfs time (discarding blocks initially is useful
on solid state devices and sparse / thin-provisioned storage). When
2013 Mar 20
1
Problem with building instructions for btrfs-tools in https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories
There is a missing dependency: liblzo2-dev
Without it, the make fails with:
~/tmp$ git clone
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
~/tmp$ cd btrfs-progs
~/tmp/btrfs-progs$ sudo apt-get install uuid-dev libattr1-dev zlib
1g-dev libacl1-dev e2fslibs-dev libblkid-dev
~/tmp/btrfs-progs$ make
[CC] ctree.o
[CC] disk-io.o
[CC] radix-tree.o
2012 Jul 17
1
Unmountable btrfs filesystem
Hi devs,
I can''t mount my btrfs-based external disk. I don''t know what happened
to the disk, but usually it gets disconnected (usb cable pulled out)
buy my 8 months old daughter.
Here''s the output from dmesg:
[ 299.699543] parent transid verify failed on 528952573952 wanted
22726 found 22728
[ 299.700947] btrfs read error corrected: ino 1 off 528952573952 (dev
2009 Feb 02
5
[PATCH] btrfs: call mark_inode_dirty when i_size is updated
Hi Chris.
I think it is needed to call mark_inode_dirty() when file size expands
in order to flush metadata updates to HDD through sync() syscall or
background_writeout().
Thanks.
Signed-off-by: Hisashi Hifumi <hifumi.hisashi@oss.ntt.co.jp>
diff -Nrup linux-2.6.29-rc3.org/fs/btrfs/file.c linux-2.6.29-rc3/fs/btrfs/file.c
--- linux-2.6.29-rc3.org/fs/btrfs/file.c 2009-02-02
2011 Sep 28
3
[PATCH] Btrfs: fix missing clear_extent_bit
We forget to clear inode''s dirty_bytes and EXTENT_DIRTY at the end of write.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
fs/btrfs/file.c | 1 -
fs/btrfs/inode.c | 5 ++++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index e7872e4..3f3b4a8 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -1150,7 +1150,6 @@
2012 Jul 05
2
btrfs-progs branch updated
Hi everyone,
I''ve updated the master branch with the pending stable btrfs-progs
commit that should make the 0.20 release.
Thanks to Hugh for helping to queue up a few of them. We''ll have more
frequent releases from here as we pull in the major new features going
into progs (raid5/6, send/receive, quotas, fsck improvements).
Please give it a shot and let me know if you see any
2011 Nov 01
1
btrfs-progs
Hello,
I''ve just pulled btrfs-progs from the new git repo
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
However, when I come to make it fails like so:
gcc -Wp,-MMD,./.btrfsctl.o.d,-MT,btrfsctl.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -Werror -Os -c btrfsctl.c
gcc -g -Werror -Os -o btrfsctl btrfsctl.o ctree.o disk-io.o radix-tree.o extent-tree.o
2010 Mar 15
1
[PATCH 1/2] Btrfs: remove bad fsync transaction check
This check for a user transaction is a bogus: fsync() with an open user
transaction is verboten. If the caller is the same process who started
a user transaction, and this is a different file, we will deadlock. If
it''s the same file, this check means we won''t deadlock, but the
transaction will be prematurely closed out.
Any user transaction ioctl users should be careful to
2010 Jun 10
0
[PATCH] [12/23] BTRFS: Clean up unused variables -- bugs
These are all the cases where a variable is set, but not
read which are really bugs.
- Couple of incorrect error handling fixed.
- One incorrect use of a allocation policy
- Some other things
Still needs more review.
Found by gcc 4.6''s new warnings
Cc: chris.mason@oracle.com
cc: linux-btrfs@vger.kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
2011 Dec 22
0
[RESEND] [PATCH v2] Btrfs: runtime integrity check tool
Sigh. In the previously sent v2 patch the mail 1/4 exceeded the archaic
100,000 chars limit of vger.kernel.org (no complains from checkpatch.pl
though). Therefore I now prepared a git-daemon for pulling.
Please pull from
git://btrfs.giantdisaster.de/git/btrfs integrity-check-patch-v2
Changes v1-v2:
- Merge with updated disk flush code
- Use bdevname to print the bdev''s name instead of