| 6cb9c75c | 13-Oct-2024 |
Anton Nayshtut <anayshtut@nvidia.com> |
lib/fsdev: mount and umount API introduced
This patch introduces SPDK fsdev spdk_fsdev_mount and spdk_fsdev_umount APIs, the SPDK fsdev analogues of FUSE_INIT and FUSE_DESTROY.
The corresponding fs
lib/fsdev: mount and umount API introduced
This patch introduces SPDK fsdev spdk_fsdev_mount and spdk_fsdev_umount APIs, the SPDK fsdev analogues of FUSE_INIT and FUSE_DESTROY.
The corresponding fsdev module handlers are optional (as any other), however failing the INIT handler will fail the FUSE_INIT and therefore the host's mount.
The spdk_fsdev_open() API doesn't get the open_opts parameter anymore. It became mount_opts now.
Change-Id: I316a31f6999b9fabe6cee51c87fdd0e6e49ed569 Signed-off-by: Anton Nayshtut <anayshtut@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25009 Reviewed-by: Ben Walker <ben@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>
show more ...
|
| d00039db | 13-Oct-2024 |
Anton Nayshtut <anayshtut@nvidia.com> |
module/fsdev/aio: fsdev_aio_negotiate_opts moved
Code preparation. Trivial: fsdev_aio_negotiate_opts moved.
Change-Id: Iaa0ac0457d043fac054ce485ed3dbbb7e7b74d65 Signed-off-by: Anton Nayshtut <anays
module/fsdev/aio: fsdev_aio_negotiate_opts moved
Code preparation. Trivial: fsdev_aio_negotiate_opts moved.
Change-Id: Iaa0ac0457d043fac054ce485ed3dbbb7e7b74d65 Signed-off-by: Anton Nayshtut <anayshtut@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25203 Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by: Ben Walker <ben@nvidia.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 39dafea4 | 22-Aug-2024 |
Marcin Spiewak <marcin.spiewak@intel.com> |
module/fsdev/aio: fixed couple of errors
Fixed issues detected by Coverity. 1) close(fd) could be called for already closed fd. Now it is not possible 2) A file descriptor was checked instead of f
module/fsdev/aio: fixed couple of errors
Fixed issues detected by Coverity. 1) close(fd) could be called for already closed fd. Now it is not possible 2) A file descriptor was checked instead of fhandle that was returned from file_handle_create(fobject, fd) 3) A fsdev_io was checked instead of fsdev_io->u_in.symlink.target when checking if strdup() succeeded
Change-Id: Ic679629bb6a6e63f4a087c826ed3ec73fe57bdb7 Signed-off-by: Marcin Spiewak <marcin.spiewak@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24646 Reviewed-by: Changpeng Liu <changpeliu@tencent.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|