jbd2: Avoid infinite transaction commit loop
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Zhang Yi |
|---|---|
| Series | R-b R-b R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] jbd2: Avoid infinite transaction commit loop
Hello,
Alexander has reported [1] that when he tries to online-resize a small filesystem JBD2 eventually BUGs in transaction commit code. This is caused by online resize code starting a transaction of size close to maximum allowed transaction size for the journal. When descriptor blocks are added to the transaction it actually exceeds maximum transaction size and that confuses start_this_handle() which enters infinite transaction commit loop (see patch 3 for details). This patch series fixes the confusion in start_this_handle(). There's still open question how to make online resizing with tiny journal work.
Honza
[1] https://lore.kernel.org/all/CA+hUFcuGs04JHZ_WzA1zGN57+ehL2qmHOt5a7RMpo+rv6Vyxtw@mail.gmail.com