qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/3] file-posix: Simplifications on image locking
@ 2018-08-21  0:58 Fam Zheng
  2018-08-21  0:58 ` [Qemu-devel] [PATCH v4 1/3] file-posix: Skip effectiveless OFD lock operations Fam Zheng
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Fam Zheng @ 2018-08-21  0:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Max Reitz, qemu-block

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 | 154 +++++++++++++++++++++++++++++++++++++
 3 files changed, 209 insertions(+), 30 deletions(-)
 create mode 100644 tests/test-image-locking.c

-- 
2.17.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-10-01 19:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21  0:58 [Qemu-devel] [PATCH v4 0/3] file-posix: Simplifications on image locking Fam Zheng
2018-08-21  0:58 ` [Qemu-devel] [PATCH v4 1/3] file-posix: Skip effectiveless OFD lock operations Fam Zheng
2018-10-01 19:40   ` Max Reitz
2018-08-21  0:58 ` [Qemu-devel] [PATCH v4 2/3] file-posix: Drop s->lock_fd Fam Zheng
2018-10-01 19:43   ` Max Reitz
2018-08-21  0:58 ` [Qemu-devel] [PATCH v4 3/3] tests: Add unit tests for image locking Fam Zheng
2018-10-01 19:51   ` Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).