Displaying 9 results from an estimated 9 matches for "ocfs2_search_chain".
2013 Feb 21
1
[PATCH] the ac->ac_allow_chain_relink=0 won't disable group relink
...;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
out of credits.
Fix is to allow relink by default and disable it in
ocfs2_block_group_alloc_discontig.
Signed-off-by: Xiaowei.Hu <xiaowei.hu at oracle.com>
Reviewed-by: Srinivas Eeda <srinivas.eeda at oracle.com>
---
fs/ocfs2/suballoc....
2006 Aug 01
1
AW: ocfs2_search_chain: Group Descriptor has bad signature
...1 ?
Although they were not directly involved in corruption, maybe indirect ?
Thanks,
Vladan
-----Urspr?ngliche Nachricht-----
Von: Sunil Mushran [mailto:Sunil.Mushran@oracle.com]
Gesendet: Dienstag, 1. August 2006 04:29
An: Vladan Gunjic
Cc: ocfs2-users@oss.oracle.com
Betreff: Re: [Ocfs2-users] ocfs2_search_chain: Group Descriptor has bad signature
What version of ocfs2 is on the nodes? Do modinfo ocfs2 on all nodes.
The version of OCFS2 shipped with SLES9 SP3 varies with kernel.
Are you using the modules shipped by suse or building them yourself?
2006 Aug 15
0
[git patches] ocfs2 updates
...c.c b/fs/ocfs2/suballoc.c
index 1955230..9d91e66 100644
--- a/fs/ocfs2/suballoc.c
+++ b/fs/ocfs2/suballoc.c
@@ -70,12 +70,6 @@ static int ocfs2_block_group_search(stru
struct buffer_head *group_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,...
2010 Apr 05
1
Kernel Panic, Server not coming back up
...fs2_write_begin:1860 ERROR: status = -5
(2869,0):ocfs2_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...
2017 Jun 19
1
core dump on ocfs2
...[885017.413143] [<ffffffffa052f86e>]
ocfs2_block_group_find_clear_bits+0x6e/0x180 [ocfs2]
Jun 19 14:22:45 posta2 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: [8...
2011 Aug 10
1
fsck hangs in Pass 0a
...devices.
I recently had errors like this on some nodes:
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):...
2011 Sep 02
5
Linux kernel crash due to ocfs2
...Assertion failure in journal_dirty_metadata() 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]
.ocfs...
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 Feb 13
44
[PATCH 0/40] ocfs2: Detach ocfs2 metadata I/O from struct inode
The following series of patches attempts to detach metadata I/O from
struct inode. They are currently tied together pretty tightly.
Metadata reads happen via the ocfs2_read_blocks() functions, writes via
both jbd2 and ocfs2_write_blocks().
- Each inode has a cache of associated metadata blocks stored on its
ip_metadata_cache member. The ocfs2_read/write_blocks() functions
take a struct