Skip to contentSkip to conversation

activating discontiguous inode block failed

Ocfs2-devel Larry Chen 1 participant 1 message Oct 30, 2017 OCFS2

lore
Share & tools
lore

Larry Chen

author
#0 lore raw

Hi, every one,

I found that when using ocfs2-test running activate_discontig_bg.sh -t inode -r 4096 -b 4096 -c 32768 -d $DEVICE -o /usr/local/ocfs2-test/log -s pcmk -n cluster /mnt/ocfs
It prompts me "sorry, activated discontiguous inode block group failed" but after changing the argument of -r option, and execute activate_discontig_bg.sh -t inode -r 200 -b 4096 -c 32768 -d $DEVICE -o /usr/local/ocfs2-test/log -s pcmk -n cluster /mnt/ocfs
It works fine.
And this is the code path:
*

discontig_runner.sh

f_single_runner

f_inodes_test

${DISCONTIG_ACTIVATE_BIN} -t inode ?(activate_discontig_bg.sh)

f_activate_discontig

${CONTIG_BG_FILLER} (fillup_contig_bg.sh)

f_fillup_ibg

$cur_bitmap_total -gt $bitmap_total***======> In the "sorry" case, they are both equal to 4096
Does everyone have any idea?
I'm still looking into this exception.

Thanks,
Larry Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20171030/3a287f9a/attachment.html