Commit ac498b14 authored by Dayu Liu's avatar Dayu Liu Committed by Tomasz Zawadzki
Browse files

doc: using 4096 block size when bdev_aio_create



Created Linux AIO bdev disk with 8192 block size can not work
on some guest OS, i.e. CentOS 7.x, and may stuck when guest OS startup.
So applying block size smaller than or equal to 4096 bytes may be a more
suitable and common choice for most guest OS or cases.

Signed-off-by: default avatarDayu Liu <liu.dayu@zte.com.cn>
Change-Id: I0f2ce4e1fd19f337c3128ad3511823c984f0aac8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2489


Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent f233c376
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -336,9 +336,9 @@ Example commands

This command will create `aio0` device from /dev/sda.

`rpc.py bdev_aio_create /tmp/file file 8192`
`rpc.py bdev_aio_create /tmp/file file 4096`

This command will create `file` device with block size 8192 from /tmp/file.
This command will create `file` device with block size 4096 from /tmp/file.

To delete an aio bdev use the bdev_aio_delete command.