The script
was used to test the feature.Additional test scripts.
Differential D11530
ext2fs: Add 64bit feature support fsu on Jul 8 2017, 5:02 PM. Authored by Tags None Referenced Files
Subscribers
Details
The script was used to test the feature.Additional test scripts.
Diff Detail
Event TimelineComment Actions You can use the existing ext4gd fields but for the others we need to have extra care. I think/suspect the 64BIT flag needs a 64 bit system and basically breaks the on-disk compatibility: I recall it was causing issues with some bootloaders. To be able to test the patch for real you need a huge (>16T) filesystem. IMHO enabling the feature for smaller filesystems i nonsense, but it is something that is not under our control.
Comment Actions The feature, just called 64bit, but, as I told, it is does not related to base types sizes, it is only about increasing size of struct ext2_gd, to add additional fields. Could you please describe about bootloadres? Do you mean, that FreeBSD ext2fs uses to mount boot volume somewhere?
Here, you are completely right, only one way to test blocks allocation outside of UINT_MAX range is to use large volume, filled with real data, I am thinking about renting FreeBSD server somewhere, because I do not have access to large drives with TB sizes.
Comment Actions Not a problem on FreeBSD since we don't regularly boot from ext2. The problem for external bootloaders are hinted here: https://mail.gnome.org/archives/commits-list/2016-June/msg01079.html This comment was removed by pfg. Comment Actions I don't have such big disks either: perhaps with a cloud provider (Amazon or Azure), or I think ZFS a zvol with compression could be made to emulate those. To be honest, the interesting test is to try such big disks in a 32bit OS but those are not very common in cloud environments.
Comment Actions Oops, yes ... I meant zvol. This kind of testing was the main reason why they were created. Comment Actions Sorry for long delay from my side, but, seems like, this review revision should be frozen. It contain some "fundamental" problems, which can not be resolved directly. I found it, when started to play with large zvols. So, I need some time, and I can not estimate it for now. Comment Actions Updated version of 64bit feature. Comment Actions I can confirm that it is ready to commit to head with long MFC for additional testing.
So, the second way was chosen, because I decided, that it is more difficult to test RO feature implementation, than RW. Comment Actions What I find confusing is that there is "force_64bit_alloc", labelled for testing/debugging only and a couple of TODO things that give the impresion that the implementation is still not ready.
Comment Actions
Yep, seems like I should ask the suggestion here...
Comment Actions svn history is not the right place to put this hack ...
#ifdef EXT2FS_DEBUG #endif
Comment Actions Diff changes:
Comment Actions Approved: however since this depend on the 64 bit inode changes, my guess is that it cannot be merged to stable as-is.
|