Displaying 6 results from an estimated 6 matches for "may_use".
Did you mean:
max_use
2011 Feb 09
1
warning in btrfs_free_block_groups
...ire+0xdd/0x10b
[<ffffffff810c0276>] sys_umount+0x2d2/0x2fd
[<ffffffff810028bb>] system_call_fastpath+0x16/0x1b
---[ end trace 3f9c8cf600895a9f ]---
space_info has 1751910400 free, is not full
space_info total=5377097728, used=3611955200, pinned=0, reserved=4843520, may_use=0, readonly=8388608
The code is:
while(!list_empty(&info->space_info)) {
space_info = list_entry(info->space_info.next,
struct btrfs_space_info,
list);
if (space_info->bytes_pinned > 0 ||
space_info->bytes_...
2010 Apr 19
0
[PATCH 08/12] Btrfs: Introduce global metadata reservation
...* total bytes the allocator has reserved for
current allocations */
u64 bytes_readonly; /* total bytes that are read only */
- u64 bytes_super; /* total bytes reserved for the super blocks */
- u64 bytes_root; /* the number of bytes needed to commit a
- transaction */
+
u64 bytes_may_use; /* number of bytes that may be used for
delalloc/allocations */
- u64 bytes_delalloc; /* number of bytes currently reserved for
- delayed allocation */
u64 disk_used; /* total bytes used on disk */
int full; /* indicates that we cannot allocate any more
chunks for thi...
2012 Mar 08
17
kernel BUG at fs/btrfs/delayed-inode.c:1466!
Hi,
this shown up today. I had to do a hard reboot as graceful hanged on sync().
------------[ cut here ]------------
kernel BUG at fs/btrfs/delayed-inode.c:1466!
invalid opcode: 0000 [#1] SMP
CPU 10
Modules linked in: btrfs zlib_deflate lzo_compress ipmi_devintf
autofs4 be2iscsi iscsi_boot_sysfs ib_iser rdma_cm ib_cm iw_cm ib_sa
ib_mad ib_addr iscsi_tcp bnx2i cnic uio ipv6 cxgb3i libcxgbi
2011 Jul 26
0
[PATCH] Btrfs: use bytes_may_use for all ENOSPC reservations
...of silly things to make sure we don''t allocate a
bunch of metadata chunks since we never had a real view of how much space was
actually in use by metadata.
There are a lot of fixes in here to make this work, but the biggest things are
this
1) When we make a disk reservation we drop bytes_may_use and add to
bytes_reserved. We didn''t use to do this because delalloc would update
bytes_may_use when it cleared delalloc. So now we don''t do this, we only will
update bytes_may_use if we have an error and have to clear the accounting
manually.
2) In should_alloc_chunk() we need...
2011 Jul 27
0
[PATCH] Btrfs: use bytes_may_use for all ENOSPC reservations V2
...of silly things to make sure we don''t allocate a
bunch of metadata chunks since we never had a real view of how much space was
actually in use by metadata.
There are a lot of fixes in here to make this work, but the biggest things are
this
1) When we make a disk reservation we drop bytes_may_use and add to
bytes_reserved. We didn''t use to do this because delalloc would update
bytes_may_use when it cleared delalloc. So now we don''t do this, we only will
update bytes_may_use if we have an error and have to clear the accounting
manually.
2) In should_alloc_chunk() we need...
2009 Aug 24
0
[PATCH] Btrfs: proper metadata -ENOSPC handling
...pace to handle the data first */
spin_lock(&data_sinfo->lock);
- if (data_sinfo->total_bytes - data_sinfo->bytes_used -
- data_sinfo->bytes_delalloc - data_sinfo->bytes_reserved -
- data_sinfo->bytes_pinned - data_sinfo->bytes_readonly -
- data_sinfo->bytes_may_use < bytes) {
+
+ used = data_sinfo->bytes_used + data_sinfo->bytes_delalloc +
+ data_sinfo->bytes_reserved + data_sinfo->bytes_pinned +
+ data_sinfo->bytes_readonly + data_sinfo->bytes_may_use +
+ data_sinfo->bytes_super;
+
+ if (data_sinfo->total_bytes - used < bytes...