FreeBSD Bugzilla – Attachment 161674 Details for
Bug 193803
fix zvol rename failing due to out of order locking
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
deadlocking testcase
snap-rename.sh (text/plain), 534 bytes, created by
krichy
on 2015-10-03 11:10:54 UTC
(
hide
)
Description:
deadlocking testcase
Filename:
MIME Type:
Creator:
krichy
Created:
2015-10-03 11:10:54 UTC
Size:
534 bytes
patch
obsolete
>#!/bin/bash > >fs="main/tmp" > >zfs destroy -r "$fs/vol" >zfs create -s -V 1G -b 16k "$fs/vol" > >(while : ; do > s=1 > echo "Creating snapshot" > zfs snapshot -r "$fs@$s" > for n in 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do > echo "Renaming snapshot $s -> $n" > zfs rename -r "$fs@$s" "$fs@$n" > s=$n > done > echo "Destroying snapshot" > zfs destroy -r "$fs@$s" >done) & >(while : ; do > dd if=/dev/urandom of=/dev/zvol/main/tmp/vol bs=1k count=16k >done)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 193803
:
147905
|
147915
|
147924
| 161674