search for: ocfs2_claim_suballoc_bit

Displaying 14 results from an estimated 14 matches for "ocfs2_claim_suballoc_bit".

2013 Feb 21
1
[PATCH] the ac->ac_allow_chain_relink=0 won't disable group relink
From: "Xiaowei.Hu" <xiaowei.hu at oracle.com> ocfs2_block_group_alloc_discontig() disables chain relink by setting ac->ac_allow_chain_relink = 0 because it grabs clusters from multiple cluster groups. It doesn't keep the credits for all chain relink,but ocfs2_claim_suballoc_bits overrides this in this call trace: ocfs2_block_group_claim_bits()->ocfs2_claim_clusters()-> __ocfs2_claim_clusters()->ocfs2_claim_suballoc_bits() ocfs2_claim_suballoc_bits set ac->ac_allow_chain_relink = 1; then call ocfs2_search_chain() one time and disable it again, and then we run o...
2006 Aug 15
0
[git patches] ocfs2 updates
...roup_bh, u32 bits_wanted, u32 min_bits, u16 *bit_off, u16 *bits_found); -static int ocfs2_search_chain(struct ocfs2_alloc_context *ac, - u32 bits_wanted, - u32 min_bits, - u16 *bit_off, - unsigned int *num_bits, - u64 *bg_blkno); static int ocfs2_claim_suballoc_bits(struct ocfs2_super *osb, struct ocfs2_alloc_context *ac, u32 bits_wanted, @@ -85,11 +79,6 @@ static int ocfs2_claim_suballoc_bits(str u64 *bg_blkno); static int ocfs2_test_bg_bit_allocatable(struct buffer_head *bg_bh, int nr); -static int ocfs2_block_group_fin...
2010 Apr 05
1
Kernel Panic, Server not coming back up
...s2_file_buffered_write:2039 ERROR: status = -5 (2869,0):__ocfs2_file_aio_write:2194 ERROR: status = -5 OCFS2: ERROR (device sdc1): ocfs2_check_group_descriptor: Group descriptor # 1128960 has bit count 32256 but claims that 34300 are free (2881,0):ocfs2_search_chain:1244 ERROR: status = -5 (2881,0):ocfs2_claim_suballoc_bits:1433 ERROR: status = -5 (2881,0):__ocfs2_claim_clusters:1715 ERROR: status = -5 (2881,0):ocfs2_local_alloc_new_window:1013 ERROR: status = -5 (2881,0):ocfs2_local_alloc_slide_window:1116 ERROR: status = -5 (2881,0):ocfs2_reserve_local_alloc_bits:537 ERROR: status = -5 (2881,0):__ocfs2_reserve_clus...
2017 Jun 19
1
core dump on ocfs2
...osta2 kernel: [885017.413224] [<ffffffffa052fa23>] ocfs2_cluster_group_search+0xa3/0x1f0 [ocfs2] Jun 19 14:22:45 posta2 kernel: [885017.413297] [<ffffffffa0530369>] ocfs2_search_chain+0x139/0x730 [ocfs2] Jun 19 14:22:45 posta2 kernel: [885017.413367] [<ffffffffa0531ce8>] ocfs2_claim_suballoc_bits+0x398/0x520 [ocfs2] Jun 19 14:22:45 posta2 kernel: [885017.413447] [<ffffffffa0531f0f>] __ocfs2_claim_clusters+0x9f/0x340 [ocfs2] Jun 19 14:22:45 posta2 kernel: [885017.413519] [<ffffffffa050f8ff>] ocfs2_local_alloc_new_window+0x1cf/0x320 [ocfs2] Jun 19 14:22:45 posta2 kernel...
2011 Aug 10
1
fsck hangs in Pass 0a
...OCFS2: ERROR (device dm-7): ocfs2_check_group_descriptor: Group Descriptor # 0 has bad signature File system is now read-only due to the potential of on-disk corruption. Please run fsck.ocfs2 once the file system is unmounted. (kvm,12322,1):ocfs2_search_chain:1363 ERROR: status = -5 (kvm,12322,1):ocfs2_claim_suballoc_bits:1524 ERROR: status = -5 (kvm,12322,1):__ocfs2_claim_clusters:1806 ERROR: status = -5 (kvm,12322,1):ocfs2_local_alloc_new_window:1013 ERROR: status = -5 (kvm,12322,1):ocfs2_local_alloc_slide_window:1116 ERROR: status = -5 (kvm,12322,1):ocfs2_reserve_local_alloc_bits:537 ERROR: status = -5 (kvm,1232...
2011 Sep 02
5
Linux kernel crash due to ocfs2
...a() at fs/jbd/transaction.c:1130: "handle->h_buffer_credits > 0" kernel BUG in journal_dirty_metadata at fs/jbd/transaction.c:1130! We get some kind of kernel debug prompt. the stack is as follows: .ocfs2_journal_dirty+0x78/0x13c [ocfs2] .ocfs2_search_chain+0x131c/0x165c [ocfs2] .ocfs2_claim_suballoc_bits+0xadc/0xd94 [ocfs2] .__ocfs2_claim_clusters+0x1b0/0x348 [ocfs2] .ocf2_do_extend_allocation+0x1f8/0x5b4 [ocfs2] .ocfs2_write_cluster_by_desc+0x128/0x850 [ocfs2] .ocfs2_write_begin_nolock+0xdc0/0xfbc [ocfs2] .ocfs2_write_begin+0x124/0x224 [ocfs2] .ocfs2_file_aio_write+0x6a4/0xb40 [ocfs2] .aio_pwrite...
2010 May 20
0
[GIT PULL] ocfs2 updates for 2.6.35
...el/git/jlbec/ocfs2.git upstream-linus Joel Becker (16): ocfs2: Define data structures for discontiguous block groups. ocfs2: Allocate discontiguous block groups. ocfs2: Pass suballocation results back via a structure. ocfs2: Add suballoc_loc to metadata blocks. ocfs2: ocfs2_claim_suballoc_bits() doesn't need an osb argument. ocfs2: Trim suballocations if they cross discontiguous regions ocfs2: ocfs2_claim_*() don't need an ocfs2_super argument. ocfs2: Return allocated metadata blknos on the ocfs2_suballoc_result. ocfs2: Set suballoc_loc on allocated metad...
2012 Jun 14
0
[ocfs2-announce] OCFS2 1.4.10-1 released
...ig block groups ocfs2: Grow discontig block groups in one transaction ocfs2: Set suballoc_loc on allocated metadata ocfs2: Return allocated metadata blknos on the ocfs2_suballoc_result ocfs2: ocfs2_claim_ don t need an ocfs2_super argument ocfs2: Trim suballocations if they cross discontiguo ocfs2: ocfs2_claim_suballoc_bits doesn t need an osb argument ocfs2: Add suballoc_loc to metadata blocks ocfs2: Pass suballocation results back via a structure ocfs2: Allocate discontiguous block groups ocfs2: Define data structures for discontiguous block groups ocfs2: Add clusters free in dealloc_ctxt Ocfs2: 1.4 Fix a compiling...
2009 Feb 26
3
[PATCH 0/3] ocfs2-1.4: Backport inode alloc from mainline.
Hi all, this patch set are the backport of inode alloc improvement from mainline to ocfs2-1.4. the patches are almost the same excpet one thing: Joel has added JBD2 support to ocfs2, so he has added "max_blocks" to alloc_context and add a new function "ocfs2_reserve_clusters_with_limit". We don't have that in ocfs2-1.4. So there are some great difference in patch 2.
2009 Feb 24
2
[PATCH 1/3] ocfs2: Optimize inode allocation by remembering last group.
...t ocfs2_alloc_context *ac, u16 *suballoc_bit, u64 *fe_blkno) @@ -1635,6 +1668,8 @@ int ocfs2_claim_new_inode(struct ocfs2_super *osb, BUG_ON(ac->ac_bits_wanted != 1); BUG_ON(ac->ac_which != OCFS2_AC_USE_INODE); + ocfs2_init_inode_ac_group(dir, parent_fe_bh, ac); + status = ocfs2_claim_suballoc_bits(osb, ac, handle, @@ -1653,6 +1688,7 @@ int ocfs2_claim_new_inode(struct ocfs2_super *osb, *fe_blkno = bg_blkno + (u64) (*suballoc_bit); ac->ac_bits_given++; + ocfs2_save_inode_ac_group(dir, ac); status = 0; bail: mlog_exit(status); diff --git a/fs/ocfs2/suballoc.h b...
2008 Sep 04
4
[PATCH 0/3] ocfs2: Switch over to JBD2.
ocfs2 currently uses the Journaled Block Device (JBD) for its journaling. This is a very stable and tested codebase. However, JBD is limited by architecture to 32bit block numbers. This means an ocfs2 filesystem is limited to 2^32 blocks. With a 4K blocksize, that's 16TB. People want larger volumes. Fortunately, there is now JBD2. JBD2 adds 64bit block number support and some other
2009 Jan 15
5
[PATCH 0/3] ocfs2: Inode Allocation Strategy Improvement.v2
Changelog from V1 to V2: 1. Modify some codes according to Mark's advice. 2. Attach some test statistics in the commit log of patch 3 and in this e-mail also. See below. Hi all, In ocfs2, when we create a fresh file system and create inodes in it, they are contiguous and good for readdir+stat. While if we delete all the inodes and created again, the new inodes will get spread out and that
2009 Apr 17
26
OCFS2 1.4: Patches backported from mainline
Please review the list of patches being applied to the ocfs2 1.4 tree. All patches list the mainline commit hash. Thanks Sunil
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
Hi, The following patches comprise the bulk of Ocfs2 updates for the 2.6.30 merge window. Aside from larger, more involved fixes, we're adding the following features, which I will describe in the order their patches are mailed. Sunil's exported some more state to our debugfs files, and consolidated some other aspects of our debugfs infrastructure. This will further aid us in debugging