[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH v3 0/3] file-posix: Simplifications on image locking

From: Fam Zheng
Subject: [Qemu-block] [PATCH v3 0/3] file-posix: Simplifications on image locking
Date: Fri, 17 Aug 2018 13:47:55 +0800

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]