Hi,

The free bitmap is called from fill_segs(). The page for free bitmap
may be used recursively. We have to care this point.

lock_page(bitmap page (e.g. index == 3))
  ->writepage(bitmap page)
    tux3_get_block()
      balloc() (allocate blocks for that bitmap page)
        /* we are starting to find free block on bitmap */
        while (end of page)
           blockread(bitmap page)
             lock_page(bitmap page (index == 3))

Current blockread() have the above deadlock. This patchset is including
the hack to avoid this. Later, we should revisit blockread() to fix
properly.

Second one is dleaf_merge() fix. Now, it don't care about
MAX_GROUP_ENTRIES at all. This fixes it.

        static-http://userweb.kernel.org/~hirofumi/tux3/

Please review those.
-- 
OGAWA Hirofumi <[email protected]>

_______________________________________________
Tux3 mailing list
[email protected]
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3

Reply via email to