On Sat, Jan 15, 2011 at 09:59:07AM +1100, Dave Chinner wrote:
| On Fri, Jan 14, 2011 at 10:40:16AM -0600, Geoffrey Wehrman wrote:
| > Also, I'm not saying using XFS_BMAPI_EXACT is feasible. I have a very
| > minimal understanding of the writepage code path.
| I think there are situations where this does make sense, but given
| the potential issues I'm not sure it is a solution that can be
| extended to the general case. A good discussion point on a different
| angle, though. ;)
You've convinced me that XFS_BMAPI_EXACT is not the optimal solution.
Upon further consideration, I do like your proposal to make delalloc
allocation more like an intent/done type operation. The compatibility
issues aren't all that bad. As long as the filesystem is unmounted
clean, there is no need for the next mount do log recovery and therefore
no need to have any knowledge of the new transactions.
Geoffrey Wehrman 651-683-5496 gwehrman@xxxxxxx