Displaying 3 results from an estimated 3 matches for "e4be626".
2019 Apr 27
0
[nbdkit PATCH 3/4] truncate: Test for safe multi-connect size handling
...st-vddk.sh \
test-vddk-real.sh \
@@ -937,6 +938,7 @@ TESTS += \
test-truncate1.sh \
test-truncate2.sh \
test-truncate3.sh \
+ test-truncate4.sh \
test-truncate-extents.sh
# xz filter test.
diff --git a/tests/test-truncate4.sh b/tests/test-truncate4.sh
new file mode 100755
index 0000000..e4be626
--- /dev/null
+++ b/tests/test-truncate4.sh
@@ -0,0 +1,85 @@
+#!/usr/bin/env bash
+# nbdkit
+# Copyright (C) 2019 Red Hat Inc.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistrib...
2019 Apr 29
1
Re: [nbdkit PATCH 3/4] truncate: Test for safe multi-connect size handling
...7 @@ TESTS += \
> test-truncate1.sh \
> test-truncate2.sh \
> test-truncate3.sh \
> + test-truncate4.sh \
> test-truncate-extents.sh
>
> # xz filter test.
> diff --git a/tests/test-truncate4.sh b/tests/test-truncate4.sh
> new file mode 100755
> index 0000000..e4be626
> --- /dev/null
> +++ b/tests/test-truncate4.sh
> @@ -0,0 +1,85 @@
> +#!/usr/bin/env bash
> +# nbdkit
> +# Copyright (C) 2019 Red Hat Inc.
> +#
> +# Redistribution and use in source and binary forms, with or without
> +# modification, are permitted provided that the follo...
2019 Apr 27
8
[nbdkit PATCH 0/4] Fix truncate handling of real_size
While working on adding assertions to pthread_mutex_lock calls, I
noticed that the truncate filter's use of mutex didn't really protect
us, and isn't really necessary. Cleaning that up also spotted a couple
of other potential cleanups.
Eric Blake (4):
filters: Drop useless .open callbacks
truncate: Fix corruption when plugin changes per-connection size
truncate: Test for safe