init tmp_bh blocksize and state