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: Dayu 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: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
f233c376b1
commit
ac498b1444
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user