bdev/aio: remove unused sync_completion_list
Change-Id: I3ac636c18d7e71e0184d4f67ec54a36217a11db0 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/373833 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
75efdc63be
commit
b44377f9e6
@ -356,7 +356,6 @@ create_aio_disk(const char *name, const char *fname, uint32_t block_size)
|
||||
|
||||
disk_size = spdk_fd_get_size(fdisk->fd);
|
||||
|
||||
TAILQ_INIT(&fdisk->sync_completion_list);
|
||||
fdisk->disk.name = strdup(name);
|
||||
if (!fdisk->disk.name) {
|
||||
goto error_return;
|
||||
|
@ -58,12 +58,6 @@ struct file_disk {
|
||||
struct spdk_bdev disk;
|
||||
const char *file;
|
||||
int fd;
|
||||
|
||||
/**
|
||||
* For storing I/O that were completed synchronously, and will be
|
||||
* completed during next check_io call.
|
||||
*/
|
||||
TAILQ_HEAD(, bdev_aio_task) sync_completion_list;
|
||||
};
|
||||
|
||||
struct spdk_bdev *create_aio_disk(const char *name, const char *fname, uint32_t block_size);
|
||||
|
Loading…
Reference in New Issue
Block a user