search for: rsv

Displaying 20 results from an estimated 31 matches for "rsv".

Did you mean: rst
2011 Dec 02
[PATCH] Btrfs: protect orphan block rsv with spin_lock
...ceph. Turns out it''s because we''re racing with checking if the orphan block reserve is set, because we clear it outside of the spin_lock. So leave the normal fastpath checks where they are, but take the spin_lock and _recheck_ to make sure we haven''t had an orphan block rsv added in the meantime. Then clear the root''s orphan block rsv and release the lock. With this patch a user said the warnings went away and they usually showed up pretty soon after he started ceph. Thanks, Signed-off-by: Josef Bacik <> --- fs/btrfs/inode.c...
2009 May 01
Rosewill RSV-S8 Storage Enclosure Support
I'm trying to get RSV-S8 working with Citrix XenServer 5 update 3 (which I believe runs CentOS 5.something). I have the Rosewill card that comes with it in there (sil3132 based). It's seeing the card, and seeing all my drives. I fdisk the drives and I can create the partitions, but I am unable to set up eithe...
2014 Aug 05
Stack dumps in use_block_rsv while rebalancing ("block rsv returned -28")
...and one of them is reproduced below. Is this harmful or expected? Are there any workarounds? Thanks, - Peter [376007.681938] ------------[ cut here ]------------ [376007.681957] WARNING: CPU: 1 PID: 27021 at /home/apw/COD/linux/fs/btrfs/ extent-tree.c:6946 use_block_rsv+0xfd/0x1a0 [btrfs]() [376007.681958] BTRFS: block rsv returned -28 [376007.681959] Modules linked in: softdog tcp_diag inet_diag dm_crypt ppdev xen_fbfront fb_sys_fops syscopyarea sysfillrect sysimgblt i2c_piix4 serio_raw parport_pc parport mac_hid isofs xt_tcpudp iptable_filter xt_owner ip_tab...
2012 Jul 07
block rsv returned -28
...devid 2 size 1.36TiB used 1.13TiB path /dev/sdd devid 3 size 1.36TiB used 1.13TiB path /dev/sde devid 6 size 1.36TiB used 377.00GiB path /dev/sdf *** Some devices missing [ 1013.381148] btrfs: found 5451 extents [ 1105.177601] btrfs: block rsv returned -28 [ 1105.177608] ------------[ cut here ]------------ [ 1105.177684] WARNING: at /home/abuild/rpmbuild/BUILD/kernel-default-3.4.4~jng6/linux-3.4/fs/btrfs/extent-tree.c:6219 use_block_rsv+0xb8/0x104 [btrfs]() [ 1105.177692] Hardware name: RX945GC [...
2012 Jan 05
[RFC][PATCH 3/3] Btrfs: improve truncation of btrfs
...; + ret = btrfs_truncate(inode, newsize); } return ret; @@ -6522,87 +6530,43 @@ out: return ret; } -static int btrfs_truncate(struct inode *inode) +static int btrfs_truncate(struct inode *inode, loff_t newsize) { struct btrfs_root *root = BTRFS_I(inode)->root; - struct btrfs_block_rsv *rsv; int ret; int err = 0; struct btrfs_trans_handle *trans; unsigned long nr; u64 mask = root->sectorsize - 1; - u64 min_size = btrfs_calc_trunc_metadata_size(root, 1); - - ret = btrfs_truncate_page(inode->i_mapping, inode->i_size); - if (ret) - return ret; - - btrfs_wait_orde...
2012 Sep 06
[PATCH V4 01/12] Btrfs: fix error path in create_pending_snapshot()
...If we failed to deal with the delayed dir items, we should abort transaction, just as its comment said. Fix it. - If root reference or root back reference insertion failed, we should abort transaction. Fix it. - Fix the double free problem of pending->inherit. - Do not restore the trans->rsv if we doesn''t change it. - make the error path more clearly. Signed-off-by: Miao Xie <> --- Changelog v3 -> v4: - No change. Changelog v2 -> v3: - rebase on the latest for-linus branch - fix double free problem of pending->inherit Changelog v1 -> v2...
2011 Nov 09
WARNING: at fs/btrfs/inode.c:2198 btrfs_orphan_commit_root+0xa8/0xc0
Hello, I''m seeing a lot of warnings in dmesg with a BTRFS filesystem. I''m using the 3.1 kernel, I found a patch for these warnings ( <>, but that patch has already been included in 3.1. Are there any other patches I can
2013 Jun 05
btrfs raid1 on 16TB goes read-only after "btrfs: block rsv returned -28"
...h: mkfs.btrfs -L bu-16TB_0 -d raid1 -m raid1 /dev/sd[cdef] /etc/fstab mounts with the options: noatime,noauto,space_cache,inode_cache All on kernel 3.8.13. Upon using rsync to copy some heavily hardlinked backups from ReiserFS, I''ve seen: The following "block rsv returned -28" is repeated 7 times until there is a call trace for: "WARNING: at fs/btrfs/super.c:256 __btrfs_abort_transaction+0x3d/0xad()". Then, the mount is set read-only. How to fix or debug? Thanks, Martin kernel: ------------[ cut here ]------------ kernel:...
2010 Nov 07
help! kennard-stone algorithm in soil.spec packages does not work for my dataset!!! RSV.Rdata I want to split my dataset to training set and test set using kennard-stone(KS) algorithm, it is lucky there is R packages soil.spec to implement it. but when I used it to my dataset, it does not work, who can help me, how reasons is it, below, it is my code, and my data in the at...
2013 Aug 19
[RFC PATCH] Btrfs: fix memory leak of orphan block rsv
...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() (via the VFS). So my likely dirty hack, after some debugging, of freeing the orphan block rsv in btrfs_evict_inode() if its not being used by other tasks, seems to fix the leak without failing xfstests so far. But this is unlikely to be a correct solution without causing issues elsewhere. This commit also changes calls to btrfs_orphan_del() which grabbed the root''s orphan_block_rs...
2007 Jun 20
Page fault on mapped pages with reserved bits set
...try.S (XEN) Domain 33 (vcpu#0) crashed on cpu#0: The mapping corresponds with what was setup, other than the user and reserved bits being set for the L1 entry. Since this is x86-64, I understand that Xen has set the user bit for my guest kernel, but according to my paging extensions overview, the RSV bit may trigger a page fault: If set (RSV=1), may cause a page fault. Setting this bit only causes a page fault during page translation. If the referenced page entry is in the TLB, then setting this bit, and referencing the page will not cause a page fault. If the entry is not in...
2015 May 19
libguestfs error: mkfs_btrfs
Hi all : there is a problem on libguestfs-1.29.40 after command :make check libguestfs: error: mkfs_btrfs: /dev/vda1: device /dev/vda1 is too small (must be at least 256 MB) FAIL: test_btrfs_image_0 3/515 test_btrfstune_enable_skinny_metadata_extent_refs_0 libguestfs: error: btrfstune_enable_skinny_metadata_extent_refs: /dev/vda1: btrfstune: invalid option --
2012 Dec 19
HIT WARN_ON WARNING: at fs/btrfs/extent-tree.c:6339 btrfs_alloc_free_block+0x126/0x330 [btrfs]()
Hi all, Did someone have met this problem before. When doing the tests, I hit the WARN_ON. Is this log make sense or someone had fixed the problem. If needed, I can supply the detail log and the testcase source file. Version: the latest codes at linus git tree. [ 2140.981293] use_block_rsv: 336 callbacks suppressed [ 2140.981295] ------------[ cut here ]------------ [ 2140.981308] WARNING: at fs/btrfs/extent-tree.c:6339 btrfs_alloc_free_block+0x126/0x330 [btrfs]() [ 2140.981309] Hardware name: 2356BG6 ... [ 2140.981568] ------------[ cut here ]------------ [ 2140.981574]...
2012 Apr 20
Ceph on btrfs 3.4rc
After running ceph on XFS for some time, I decided to try btrfs again. Performance with the current "for-linux-min" branch and big metadata is much better. The only problem (?) I''m still seeing is a warning that seems to occur from time to time: [87703.784552] ------------[ cut here ]------------ [87703.789759] WARNING: at fs/btrfs/inode.c:2103
2013 Mar 04
[PATCH 1/2] Btrfs: fix wrong handle at error path of create_snapshot() when the commit fails
...&objectid); - if (ret) { - pending->error = ret; + pending->error = btrfs_find_free_objectid(tree_root, &objectid); + if (pending->error) goto no_free_objectid; - } btrfs_reloc_pre_snapshot(trans, pending, &to_reserve); if (to_reserve > 0) { - ret = btrfs_block_rsv_add(root, &pending->block_rsv, - to_reserve, - BTRFS_RESERVE_NO_FLUSH); - if (ret) { - pending->error = ret; + pending->error = btrfs_block_rsv_add(root, + &pending->block_rsv, + to_reserve, + BTRFS_RESERVE_NO_FLUSH); + if (pending-...
2012 Nov 22
raid10 data fs full after degraded mount
...Btrfs v0.20-rc1-37-g91d9eec Trying to write resulted in the following oops: [ 2756.911339] btrfs: allowing degraded mounts [ 2756.911342] btrfs: disk space caching is enabled [ 2756.953571] btrfs: bdev (null) errs: wr 53951563, rd 602, flush 2694, corrupt 0, gen 0 [ 2898.699564] btrfs: block rsv returned -28 [ 2898.699568] ------------[ cut here ]------------ [ 2898.699594] WARNING: at fs/btrfs/extent-tree.c:6297 btrfs_alloc_free_block+0xeb/0x2a0 [btrfs]() [ 2898.699596] Hardware name: X9SCL/X9SCM [ 2898.699597] Modules linked in: nfsd auth_rpcgss nfs_acl nfs lockd fscache...
2011 Jun 09
[PATCH] Btrfs: turn to readonly if btrfs_start_transaction() fails
...rans); + btrfs_abort_transaction(root, err); goto out; } @@ -6569,6 +6583,7 @@ static int btrfs_truncate(struct inode *inode) trans = btrfs_start_transaction(root, 1); if (IS_ERR(trans)) { err = PTR_ERR(trans); + btrfs_abort_transaction(root, err); goto out; } trans->block_rsv = rsv; @@ -6598,6 +6613,7 @@ static int btrfs_truncate(struct inode *inode) trans = btrfs_start_transaction(root, 3); if (IS_ERR(trans)) { err = PTR_ERR(trans); + btrfs_abort_transaction(root, err); goto out; } @@ -6965,9 +6981,10 @@ static int btrfs_rename(struct inode *...
2006 Mar 27
[LLVMdev] PyPy Tokyo sprint 23/4 - 29/4 announcement
...anda, Chiyoda-ku, Tokyo 101-0021 Japan Phone: +81-3-5298-4729 Hotel areas - we are recommended to book hotels in Ueno and Asakusa (old town), from those areas there are only two metro stops to Akihabara. Please note that hotelrooms in Tokyo are often very small. (nearest hotel to sprint location) (Ueno) (Asak...
2010 Apr 19
[PATCH 08/12] Btrfs: Introduce global metadata reservation
...es_readonly, %llu may use %llu total\n", + (unsigned long long)bytes, (unsigned long long)data_sinfo->bytes_used, (unsigned long long)data_sinfo->bytes_reserved, (unsigned long long)data_sinfo->bytes_pinned, @@ -3336,6 +3334,90 @@ void btrfs_block_rsv_release(struct btrf block_rsv_release_bytes(block_rsv, num_bytes); } +/* + * helper to calculate size of global block reservation. + * the desired value is sum of space used by extent tree, + * checksum tree and root tree + */ +static u64 calc_global_metadata_size(struct btrfs_fs_info...
2019 May 16
[PATCH 0/2] Add BO reservation to GEM VRAM pin/unpin/push_to_system
A kernel test bot reported a problem with the locktorture testcase that was triggered by the GEM VRAM helpers. ... [ 10.004734] RIP: 0010:ttm_bo_validate+0x41/0x141 [ttm] ... [ 10.015669] ? kvm_sched_clock_read+0x5/0xd [ 10.016157] ? get_lock_stats+0x11/0x3f [ 10.016607] drm_gem_vram_pin+0x77/0xa2 [drm_vram_helper] [ 10.017229]