Here is the v2 patch set of killing hard-coded number 128 which is used to
the extra log space reservation for almost all of those transactions.
In this round, I also tried to convert some transactions to pre-calculate out
space log reservation from runtime to mount time so that we can make the code
to xfs_trans_reserve() looks a bit neat and reduce a bit performance
can be ignored. :)) IMHO, which were includes: super block quota flags changes,
quota off/end of quota off, adjust quota limits, quota allocations, log dummy1,
log super block counters, log super block units/fields, as well as set
Changes of v2 to v1:
- use xfs_calc_buf_res() to calulate out the space log reservation per item.