Various disk controllers require their buffers to be aligned to 64 bytes. For buffers allocated in structures, ensure that they are 64-byte aligned.
Create a new Balloc() function in fsck_ffs(8) that allocates 64-byte aligned memory to use when allocating memory that will be used for doing disk I/O. Go through and change all buffer allocations to call Balloc().
On 64-bit architectures, malloc always returns 64-bit aligned allocations, so this change should have no effect. But if a bigger alignment requirement (say 128) comes down in the future, it will be trivial to implement it.