search for: btrfs

Displaying 20 results from an estimated 2596 matches for "btrfs".

2013 Apr 05
0
btrfs insane I/O amplification?
....c in emacs) and it took about a minute. Everything went downhill from there. My system was basically idle at the time. (I have very little in the way of diagnostics because I couldn''t do much but hit the reset button after a couple of minutes.) On restart, dmesg said: [ 10.018204] Btrfs detected SSD devices, enabling SSD mode [ 10.049623] btrfs: free space inode generation (0) did not match free space cache generation (776515) [ 10.293808] block group 29020389376 has an wrong amount of free space [ 10.293810] btrfs: failed to load free space cache for block group 29020389376...
2011 Feb 05
2
Strangeness on btrfs balance..
Hi there... I have kernel version 2.6.36.3, compiled with gcc 4.4.5, btrfstools version 0.19+20101101 I have a btrfs filesystem (/data) consisting of two 1TB hard disks, raid0. I added in another 1TB hard drive. root@X86-64:~# btrfs filesystem show failed to read /dev/sdh failed to read /dev/sdg failed to read /dev/sdf failed to read /dev/sde failed to read /dev/sr0 fa...
2015 Jun 10
2
[PATCH] New API: btrfs_replace_start
Signed-off-by: Pino Tsao <caoj.fnst@cn.fujitsu.com> --- daemon/btrfs.c | 40 +++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 19 +++++++++++++++++++ tests/btrfs/test-btrfs-devices.sh | 8 ++++++++ 3 files changed, 67 insertions(+) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 39392f7..acc300d 100644 --- a/daemon/...
2013 Oct 18
11
[GIT PULL] Btrfs
Hi Linus, My for-linus branch has a one line fix: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus Sage hit a deadlock with ceph on btrfs, and Josef tracked it down to a regression in our initial rc1 pull. When doing nocow writes we were sometimes starting a transaction with locks held. Josef Bacik (1) commits (+1/-0): Btrfs: release path before starting transaction in can_n...
2013 Aug 19
11
[RFC PATCH] Btrfs: fix memory leak of orphan block rsv
When adding orphans to an inode''s root, we start a transaction for that root that when ended in several places such as for example extent-tree.c:btrfs_remove_block_group(), inode.c:btrfs_unlink() and inode.c:btrfs_evict_node(), doesn''t result in a commit, that is, inode.c:btrfs_orphan_commit_root() doesn''t get called (via transaction.c:commit_fs_roots()). The respective inode will end up being called by inode.c:btrfs_evict_node...
2012 Jan 22
0
Compiler warnings: cast from pointer to integer of different size
I encounter the following compiler warnings while compiling kernel 3.3.0-rc1+ ... CC fs/btrfs/super.o CC fs/btrfs/ctree.o CC fs/btrfs/extent-tree.o fs/btrfs/extent-tree.c: In function ‘btrfs_check_data_free_space’: fs/btrfs/extent-tree.c:3314:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fs/btrfs/extent-tree.c: In function ‘btrfs_free_rese...
2015 Jun 24
2
[PATCH v3] New API: btrfs_replace
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> --- v3: modify test script, add content check while remove replace back. Also fixed other defects as Pino T comment daemon/btrfs.c | 36 +++++++++++++++++++++ generator/actions.ml | 16 ++++++++++ tests/btrfs/Makefile.am | 3 +- tests/btrfs/test-btrfs-replace.sh | 66 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 120 insertions(+), 1 deletion(-) create mode 100755 tests/...
2015 Jun 15
2
[PATCH v2] New API: btrfs_replace
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> --- daemon/btrfs.c | 37 ++++++++++++++++++ generator/actions.ml | 16 ++++++++ tests/btrfs/Makefile.am | 3 +- tests/btrfs/test-btrfs-replace.sh | 82 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 137 insertions(+), 1 deletion(-) create mode 100755 tests/btrfs...
2013 Aug 27
7
[PATCH] Btrfs: fix deadlock in uuid scan kthread
...kthread attempts to create one, the kthread will block, waiting for that transaction to finish while it''s keeping locks on the tree root, and in turn the existing transaction is waiting for those locks to be free. The stack trace reported by the kernel follows. [36700.671601] INFO: task btrfs-uuid:15480 blocked for more than 120 seconds. [36700.671602] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [36700.671602] btrfs-uuid D 0000000000000000 0 15480 2 0x00000000 [36700.671604] ffff880710bd5b88 0000000000000046 ffff8803d36ba850 0000...
2015 Jun 17
2
Re: [PATCH v2] New API: btrfs_replace
Hi, pino 在 2015年06月16日 21:58, Pino Toscano 写道: > On Monday 15 June 2015 15:52:31 Cao jin wrote: >> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> >> --- >> daemon/btrfs.c | 37 ++++++++++++++++++ >> generator/actions.ml | 16 ++++++++ >> tests/btrfs/Makefile.am | 3 +- >> tests/btrfs/test-btrfs-replace.sh | 82 +++++++++++++++++++++++++++++++++++++++ >> 4 files changed, 137 insertions(+), 1 del...
2011 Sep 27
2
high CPU usage and low perf
Hiya, Recently, a btrfs file system of mine started to behave very poorly with some btrfs kernel tasks taking 100% of CPU time. # btrfs fi show /dev/sdb Label: none uuid: b3ce8b16-970e-4ba8-b9d2-4c7de270d0f1 Total devices 3 FS bytes used 4.25TB devid 2 size 2.73TB used 1.52TB path /dev/sdc dev...
2010 Nov 29
0
[GIT PULL] Btrfs updates for 2.6.37-rc
Hi everyone, The master branch of the btrfs unstable tree: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git master Has a collection of btrfs bug fixes. The three most important fixes here address crashes in the btrfs O_DIRECT code, add a migrate_page operation to avoid metadata corruption as btree pages go through mi...
2012 Aug 01
7
[PATCH] Btrfs: barrier before waitqueue_active
...e ordered flushers were waiting for more refs and were never woken up, so those smp_mb()''s are the most important. Everything else I added for correctness sake and to avoid getting bitten by this again somewhere else. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> --- fs/btrfs/compression.c | 1 + fs/btrfs/delayed-inode.c | 16 ++++++++++------ fs/btrfs/delayed-ref.c | 18 ++++++++++++------ fs/btrfs/disk-io.c | 11 ++++++++--- fs/btrfs/inode.c | 8 +++++--- fs/btrfs/volumes.c | 8 +++++--- 6 files changed, 41 insertions(+), 21 dele...
2011 Sep 10
12
WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()
Hi I am hitting this Warning reproducible, the workload is a ceph osd, kernel ist 3.1.0-rc5. Best Regards, martin [ 5472.099766] ------------[ cut here ]------------ [ 5472.099833] WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]() [ 5472.099838] Hardware name: MS-96B3 [ 5472.099842] Modules linked in: radeon ttm drm_kms_helper drm i2c_algo_bit psmouse sp5100_tco edac_core lp shpchp serio_raw k8temp i2c_piix4 edac_mce_amd parport ahci pata_atiixp e1000e libahci btrf...
2013 Oct 16
3
trivial cleanups
Hi gang, Here''s some trivial cleanups that I''ve built up while reading through the code. They''ve been run through xfstests -g quick. - z -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2013 Jan 09
5
[PATCH] remove "device show" from btrfs man page
Remove "device show" from btrfs man page as it''s not supported by the btrfs utility. --- man/btrfs.8.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 9222580..e663da2 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -33,8 +33,6 @@ btrfs \- control a btrfs filesystem .PP...
2015 Jun 12
2
Re: [PATCH] New API: btrfs_replace_start
Hi, 在 2015年06月11日 17:43, Pino Toscano 写道: > Hi, > > On Wednesday 10 June 2015 17:54:18 Pino Tsao wrote: >> Signed-off-by: Pino Tsao <caoj.fnst@cn.fujitsu.com> >> --- >> daemon/btrfs.c | 40 +++++++++++++++++++++++++++++++++++++++ >> generator/actions.ml | 19 +++++++++++++++++++ >> tests/btrfs/test-btrfs-devices.sh | 8 ++++++++ >> 3 files changed, 67 insertions(+) >> >> diff --git a/daemon/btrfs.c b/daemon/btrf...
2015 Jun 12
2
Re: [PATCH] New API: btrfs_replace_start
...Tsao wrote: >> Hi, >> >> 在 2015年06月11日 17:43, Pino Toscano 写道: >>> Hi, >>> >>> On Wednesday 10 June 2015 17:54:18 Pino Tsao wrote: >>>> Signed-off-by: Pino Tsao <caoj.fnst@cn.fujitsu.com> >>>> --- >>>> daemon/btrfs.c | 40 +++++++++++++++++++++++++++++++++++++++ >>>> generator/actions.ml | 19 +++++++++++++++++++ >>>> tests/btrfs/test-btrfs-devices.sh | 8 ++++++++ >>>> 3 files changed, 67 insertions(+) >>>> >>>&gt...
2013 Sep 23
12
balance induced csum errors
SAMSUNG SSD 830 Series CPU0: Intel® Core(TM) i7-2820QM CPU @ 2.30GHz (fam: 06, model: 2a, stepping: 07) 8GB RAM (quite heavily tested, not recently, with several days of memtest) kernel 3.11.1-200.fc19.x86_64 running on baremetal btrfs-progs-0.20.rc1.20130308git704a08c-1.fc19.x86_64 Today I did a scrub on a btrfs volume, with no message or errors in console or dmesg or journal. Immediately after the scrub I did a balance on the volume which resulted in: ERROR: error during balancing ''/'' - Input/output error In...
2014 Apr 25
2
Root btrfs partition listed twice?
Hi, I know btrfs complicates filesystem lists due to the use of subvolumes. However, I just noticed that the root partition itself ends up being listed twice with list-filesystems, inspect-os, inspect-get-roots, etc... I'm seeing this in version 1.26, but haven't found anything directly resolving this i...