News for hackers. Stuff that matters.
Re:Ext4 encryption by Dylan16807 on Wednesday May 27, 2015 @03:35PM (#9613769)
Well if you use atomic 4K writes to the drive, and expose each one as 7 512-byte blocks to the next layer...
Re:Ext4 encryption by kijin on Wednesday May 27, 2015 @08:04PM (#9615254)
That's exactly what I was thinking.

SSDs have fairly large page sizes and erase block sizes, so you're often reading and writing a lot more than necessary, anyway. A clever implementation might be able to take advantage of that to scatter the MAC throughout the drive without too much impact on performance or longevity.

Re:Ext4 encryption by caf on Wednesday May 27, 2015 @08:47PM (#9615423)
Now your 4K aligned writes of filesystem blocks turn into an 8K read-modify-write cycle on the underlying block device.