projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d9937b
)
Use a pointer to const char* for I/O engine name (in response to aa2b823c)
author
Tomohiro Kusumi
<kusumi.tomohiro@gmail.com>
Mon, 8 Aug 2016 17:27:30 +0000
(
02:27
+0900)
committer
Jens Axboe
<axboe@fb.com>
Mon, 8 Aug 2016 17:31:15 +0000
(11:31 -0600)
aa2b823c
also needed to change ioengine_ops::name size to 64,
or make it a pointer to a readonly string which seems to be better
in this case as no one is to (or should be able to) modify it.
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
ioengine.h
patch
|
blob
|
blame
|
history
diff --git
a/ioengine.h
b/ioengine.h
index 0effadec5c602f6d1a0180d3ef103faf563e3634..ceed32912dc1561d05452d27231b49df4711631b 100644
(file)
--- a/
ioengine.h
+++ b/
ioengine.h
@@
-138,7
+138,7
@@
enum {
struct ioengine_ops {
struct flist_head list;
- c
har name[16]
;
+ c
onst char *name
;
int version;
int flags;
int (*setup)(struct thread_data *);