When testing fuse with blobfs, we used "bs=4k count=32" as the test case, but when it comes to bdev layer, the IO size is 64KiB, and alignment is 4KiB, so bdev_io_get_buf() will return error as the following message: bdev.c: 789:bdev_io_get_buf: *ERROR*: Length + alignment 69632 is larger than allowed so here we can resize the AIO alignment size from 4096 to 512, because the bdev memory pool default alignment size is 512, with this change the error will not occur in bdev layer. For the umount operation, since the fuse module will use send message to do the umount, here we can insert one second barrier to wait for the umount to be completed before killing the process. Fix issue #1406. Change-Id: Id3c67900c87a5797718c28c184a925275f90c7d4 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2587 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
fuse | ||
mkfs | ||
rocksdb | ||
blobfs.sh | ||
Makefile |