xfs: handle dquot buffer readahead in log recovery correctly
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyIn review
- v21 patch 3 repliesSuperseded
- v11 patch 3 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xfs: inode recovery readahead can race with inode buffer creationfs/ fs/ | +14 | 1 reply | |
| 2/2 | xfs: handle dquot buffer readahead in log recovery correctlyfs/ fs/ fs/ +2 more | +41 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Brian Foster |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2 v3] xfs: handle dquot buffer readahead in log recovery correctly
Hi folks,
Version 3 of this patchset. Version 2 of the patchset added a fix for the inode readahead error setting in log recovery, which turned out to be problematic.
I've split that change out into it's own patch which includes the fix it requires to prevent a race condition in log recovery to do with inode buffer creation recovery. This is a generic fix to xfs_buf_get_map(), in that if we are returning an initialised buffer for the caller to use, it shouldn't have an error set on it from the previous operation. If we don't clear the error before returning the buffer, it causes unexpected failures further down the line. This caused log recovery failures in generic/073 on slow disks (i.e. needed sufficient readahead IO latency to open the race window) and a couple of other tests as well.
The second patch is essentially the original patch with just the inode buffer changes removed. There are no other changes to that patch.
Cheers,
Dave.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs