| commit | 5620c6ce0c6842795631ea7ec95aba5426e7c01c | [log] [tgz] |
|---|---|---|
| author | Daniel Rosenberg <drosen@google.com> | Wed Jan 16 16:28:21 2019 -0800 |
| committer | Daniel Rosenberg <drosen@google.com> | Wed Jan 16 17:24:50 2019 -0800 |
| tree | 7c846a8cf18011e1346a9420b2569995e0d56367 | |
| parent | 97212d36dae1a09a31194d4152e6b42daceeb109 [diff] |
Retry mounts on -EAGAIN
F2fs may return -EAGAIN on mounting with checkpoint=disable. This
signals that the required garbage collection was taking a while, and
that more garbage collection is required, and will be resumed by
attempting to mount again.
Test: Start device with checkpointing set up with an f2fs userdata
partition that is in need of heavy garbage collection.
Mount should fail with EAGAIN and retry
Bug: 122917966
Change-Id: I83341f68e5cffa5f1bd569dfb2037ad5d3cbd7a3