We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b13c614 + 83e1bae commit 108f438Copy full SHA for 108f438
Linux/tree-common/functions
@@ -265,9 +265,9 @@ attach_nbd_device() {
265
if [ $timeout -ne 0 ]; then
266
log_begin_msg "Attaching device with a $timeout seconds timeout"
267
log_end_msg
268
- run timeout -t $timeout @xnbd-client --blocksize 4096 --retry=$retries ${nbd_host} ${nbd_port} /dev/nbd${device}
+ run timeout -t $timeout @xnbd-client --blocksize 512 --retry=$retries ${nbd_host} ${nbd_port} /dev/nbd${device}
269
else
270
- run @xnbd-client --blocksize 4096 --retry=$retries ${nbd_host} ${nbd_port} /dev/nbd${device}
+ run @xnbd-client --blocksize 512 --retry=$retries ${nbd_host} ${nbd_port} /dev/nbd${device}
271
fi
272
273
0 commit comments