file-posix: Simplifications on image locking
Status from this message: Thanks, applied to the block branch.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest3 patches 7 repliesApplied
- v43 patches 3 repliesSuperseded
- v33 patches 1 replySuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 4 replies | Applied | |
| v1 | 1 patch | 3 replies | Superseded |
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | file-posix: Skip effectiveless OFD lock operationsblock/ | +44 | 0 replies | |
| 2/3 | file-posix: Drop s->lock_fdblock/ | +13 | 5 replies | |
| 3/3 | tests: Add unit tests for image lockingtests/ tests/ | +159 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Max Reitz |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v5 0/3] file-posix: Simplifications on image locking
v5: Address Max's comments (Thanks for reviewing):
- Clean up after test done.
- Add rev-by to patch 1 and 2.
v4: Fix test on systems without OFD. [Patchew]
The first patch reduces chances of QEMU crash in unusual (but not unlikely) cases especially when used by Libvirt (see commit message).
The second patch halves fd for images.
The third adds some more test for patch one (would have caught the regression caused by v2).
Fam Zheng (3):
file-posix: Skip effectiveless OFD lock operations
file-posix: Drop s->lock_fd
tests: Add unit tests for image locking
block/file-posix.c | 83 +++++++++++++------- tests/Makefile.include | 2 + tests/test-image-locking.c | 157 +++++++++++++++++++++++++++++++++++++ 3 files changed, 212 insertions(+), 30 deletions(-) create mode 100644 tests/test-image-locking.c
Signature · 1 line
2.17.1