History

lightnvm: remove nvm_submit_io_sync_fn

Move the redundant sync handling interface and wait for a completion in the lightnvm core instead.

Hans Holmberg committed 7 years ago

Commit 98d87f71 parent 556f36e3 files · +29 −37Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/lightnvm.h+0−2
@@ -89,7 +89,6 @@ typedef int (nvm_op_set_bb_fn)(struct nvm_dev *, struct ppa_addr *, int, int); · 88 unmodified lines
8989 typedef int (nvm_get_chk_meta_fn)(struct nvm_dev *, sector_t, int,
9090 struct nvm_chk_meta *);
9191 typedef int (nvm_submit_io_fn)(struct nvm_dev *, struct nvm_rq *);
92−typedef int (nvm_submit_io_sync_fn)(struct nvm_dev *, struct nvm_rq *);
9392 typedef void *(nvm_create_dma_pool_fn)(struct nvm_dev *, char *, int);
9493 typedef void (nvm_destroy_dma_pool_fn)(void *);
9594 typedef void *(nvm_dev_dma_alloc_fn)(struct nvm_dev *, void *, gfp_t,
@@ -104,7 +103,6 @@ struct nvm_dev_ops { · 8 unmodified lines
104103 nvm_get_chk_meta_fn *get_chk_meta;
105104
106105 nvm_submit_io_fn *submit_io;
107− nvm_submit_io_sync_fn *submit_io_sync;
108106
109107 nvm_create_dma_pool_fn *create_dma_pool;
110108 nvm_destroy_dma_pool_fn *destroy_dma_pool;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t