Cyrus Massoumi <cyrusm@xxxxxxx> writes:IIRC, going to fine-grained file locking gave them a huge boost in
this particular benchmark (and maybe others).
What locking? You mean their equivalent of i_mutex? There are already file systems on Linux that don't use it significantly
for write.
As I said on lwn.net Peter Zijlstra posted a patch to break the global
file list lock about a year ago [1], but I don't think it was ever
merged. Here [2] are some numbers for the patchset.
The file_list_lock is only for open/close which MySQL is very unlikely
to do in its fast path. You're totally on the wrong path here I think.