Hi all,
Several weeks ago, we proposed the idea of always allocating uninitialized
extent during ext4 DIO write and/or buffer write and convert the extent into
initialized after IO complete. This allows us to drop the i_mutex lock during
ext4 DIO read, which would help improve ext4 DIO read performance with
multiple threads or AIOs running on high-speed SSDs. FYI, here is the email
thread referred to: http://marc.info/?l=linux-ext4&m=125513220225086&w=2
Following this email are our RFC patches to implement the proposed idea.
We haven't tested these patches much so they are probably very buggy.
Any feedback would be greatly appreciated!
Regards,
Jiaying