xfs
[Top] [All Lists]

[PATCH v2 00/12] xfs: kill hard-coded number 128 for transaction space l

To: xfs@xxxxxxxxxxx
Subject: [PATCH v2 00/12] xfs: kill hard-coded number 128 for transaction space log reservation
From: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date: Thu, 10 Jan 2013 21:47:44 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2
Hello,

Here is the v2 patch set of killing hard-coded number 128 which is used to 
indicate
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 
the
space log reservation from runtime to mount time so that we can make the code 
related
to xfs_trans_reserve() looks a bit neat and reduce a bit performance 
overhead(basically
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 
attributes.


Changes of v2 to v1:
- use xfs_calc_buf_res() to calulate out the space log reservation per item.

Old patches:
v1:
http://www.spinics.net/lists/xfs/msg15499.html
 
Thanks,
-Jeff

<Prev in Thread] Current Thread [Next in Thread>