You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create a sparse disk (30T) and create an XFS on it by default setting(blocksize=4k). With this empty fs, xfsclone could not figure out the correct dirty bitmap.
The root cause is function addtohist should convert mp->m_sb.sb_agblocks from uint32 to uint64. like this:
start_block = (agno* (unsigned long long)mp->m_sb.sb_agblocks) + agbno;
BTW, after calling libxfs_readbuf, libxfs_putbuf is needed.
Thanks
The text was updated successfully, but these errors were encountered:
Hi, Maintainer
I create a sparse disk (30T) and create an XFS on it by default setting(blocksize=4k). With this empty fs, xfsclone could not figure out the correct dirty bitmap.
The root cause is function addtohist should convert mp->m_sb.sb_agblocks from uint32 to uint64. like this:
start_block = (agno* (unsigned long long)mp->m_sb.sb_agblocks) + agbno;
BTW, after calling libxfs_readbuf, libxfs_putbuf is needed.
Thanks
The text was updated successfully, but these errors were encountered: