From ac498b1444e99e41c1aea0413aec362a20bf13b1 Mon Sep 17 00:00:00 2001 From: Dayu Liu Date: Mon, 18 May 2020 10:51:22 +0800 Subject: [PATCH] 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 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 Reviewed-by: Tomasz Zawadzki Reviewed-by: Shuhei Matsumoto Tested-by: SPDK CI Jenkins --- doc/bdev.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/bdev.md b/doc/bdev.md index a98a313cd..9f842943f 100644 --- a/doc/bdev.md +++ b/doc/bdev.md @@ -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.