[Libguestfs] [nbdkit PATCH 0/4] More mutex sanity checking

Eric Blake eblake at redhat.com
Wed Apr 24 22:24:37 UTC 2019


I do have a question about whether patch 2 is right, or whether I've
exposed a bigger problem in the truncate (and possibly other) filter,
but the rest seem fairly straightforward.

Eric Blake (4):
  server: Check for pthread lock failures
  truncate: Factor out reading real_size under mutex
  plugins: Check for mutex failures
  filters: Check for mutex failures

 filters/cache/cache.c         | 23 +++++++++----------
 filters/cow/cow.c             | 19 +++++++---------
 filters/error/error.c         |  7 +++---
 filters/log/log.c             |  3 +--
 filters/rate/rate.c           | 10 ++++-----
 filters/readahead/readahead.c |  3 +--
 filters/stats/stats.c         | 18 +++++----------
 filters/truncate/truncate.c   | 41 +++++++++++-----------------------
 plugins/file/file.c           |  3 +--
 server/connections.c          | 20 ++++++++++-------
 server/locks.c                | 42 ++++++++++++++++++++++-------------
 filters/error/Makefile.am     |  5 ++++-
 12 files changed, 92 insertions(+), 102 deletions(-)

-- 
2.20.1




More information about the Libguestfs mailing list