On Tue, 2014-03-25 at 02:37 +0100, Sergei Antonov wrote: > > I would also have > > preferred that you point out exactly where Vyacheslav's work went wrong, and supply > > a patch on top, instead of starting your own. If you want credit for it, I hope you can > > arrange with Vyacheslav to swap the order of signed-off, for one or more of the merged patches, > > for example. In any case, while I am happy to see your work, and am willing to review it, > > you have not convinced me to try your work out yet. So. > > I am ready for further convincing efforts. > Though now that Vyacheslav has stopped replying in the thread there is no progress. Two compromises have been suggested by me in the thread, I'll recap them here for you or anyone who wasn't following. > 1. Since collecting all transactions requires more memory (up to 12 MB in my tests, but theoretically more), I suggested a threshold. Let's say it will be 1 MB. Once collected data reaches one meg, flush it, free the buffers and go on collecting. > 2. A very simple suggestions that makes my logic closer to Vyacheslav's one-by-one transaction processing approach. In case we encounter a corrupted transaction, replay (good) transactions collected so far. Corrupted transaction is a rare thing (caused by cosmic rays!), but partial replay looks sane and not a big change to the code. > It doesn't make sense for me to repeat the same statements again and again. I have such principal points: (1) On-disk layout declarations should live in peace with Technical Note TN1150; (2) Journal replay should be transaction based. I'll never change my opinion about it. Thanks, Vyacheslav Dubeyko. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html