On 2015-05-12 10:02 PM, Dave Chinner wrote:
> On Fri, May 08, 2015 at 09:20:38PM -0700, Jaegeuk Kim wrote:
>> This definitions will be used by inode and superblock for encyption.
> 
> How much of this crypto stuff is common with or only slightly
> modified from the ext4 code?  Is the behaviour and features the
> same? Is the user API and management tools the same?
> 
> IMO, if there is any amount of overlap, then we should be
> implementing this stuff as generic code, not propagating the same
> code through multiple filesystems via copy-n-paste-n-modify. This
> will simply end up with diverging code, different bugs and feature
> sets, and none of the implementations will get the review and
> maintenance they really require...
> 
> And, FWIW, this is the reason why I originally asked for the ext4
> encryption code to be pulled up to the VFS: precisely so we didn't
> end up with a rapid proliferation of individual in-filesystem
> encryption implementations that are all slightly different...
> 
> Cheers,
> 
> Dave.
> 
Dave,
I have been only reading this discussion for the last few so I may miss a thing 
or two.
Firstly, I have to agree with you on moving the encryption code from the ext4 
code base
to the VFS layer so other file systems can reuse it. Further more I am curious 
if you can
help me understand why the ext4 developers have decided not to do this as it 
seems illogical
to me. Clearly a reusable core for file system encryption is ideal where the 
file systems
only change it for their internal lay out and design differences much like the 
way super
blocks are handled now in the VFS and by the different file systems that Linux 
supports.
Nick 

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to