> I have noticed that XFS on ARMv5TE with latest kernel (126.96.36.199)
> fails to mount after copying some data and reboot the system.
> I get "mount: /dev/sda1: can't read superblock", I understand that
> there were some problems with virtual aliasing that was added to XFS
> some time ago but ARM arch has not dealt with this properly.
when you get that error from mount, look at dmesg to see what really went wrong
> Is there any patch for this bug?
This is a big-hammer approach for the aliasing problem:
@@ -1172,6 +1172,7 @@ _xfs_buf_ioapply(
bio->bi_end_io = xfs_buf_bio_end_io;
bio->bi_private = bp;
bio_add_page(bio, bp->b_pages, PAGE_CACHE_SIZE, 0);
size = 0;
@@ -1198,6 +1199,7 @@ next_chunk:
if (nbytes > size)
nbytes = size;
rbytes = bio_add_page(bio, bp->b_pages[map_i], nbytes, offset);
if (rbytes < nbytes)
> xfsprogs version used: 2.10.2
> -- This message was sent on behalf of oferh@xxxxxxxxxxx at
> _______________________________________________ xfs mailing list
> xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs