projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
db1cd90
)
Log error on io buffer allocation
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 26 Apr 2007 13:24:20 +0000
(15:24 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 26 Apr 2007 13:24:20 +0000
(15:24 +0200)
Currently it just exits silently.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
memory.c
patch
|
blob
|
blame
|
history
diff --git
a/memory.c
b/memory.c
index f67dd6d9ffa09a61030fed8378f8ce9d2a523d15..d075c3526e6947483eee23dd006aeeebe5830f02 100644
(file)
--- a/
memory.c
+++ b/
memory.c
@@
-145,6
+145,9
@@
int allocate_io_mem(struct thread_data *td)
ret = 1;
}
+ if (ret)
+ td_verror(td, ENOMEM, "iomem allocation");
+
return ret;
}