In my test, serial io for compress file will make multithread small write
performance drop a lot.

I'm try to fingure out why we need __should_serialize_io, IMO, we use 
__should_serialize_io to avoid deadlock or try to
improve sequential performance, but I don't understand why we should do this for
compressed file. In my test, if we just remove this, write same file in 
multithread will have problem, but parallel write different files in multithread
is ok. So I think maybe we should use another lock to allow write different 
files in multithread.


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to