projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
oslib: log BLKREPORTZONE error code
[fio.git]
/
oslib
/
linux-blkzoned.c
diff --git
a/oslib/linux-blkzoned.c
b/oslib/linux-blkzoned.c
index 2c3ecf33b4cc31a2e6555bc64afec09d861c37d4..1cc8d288b49c9b80ea0cfb83d905934eab6e9419 100644
(file)
--- a/
oslib/linux-blkzoned.c
+++ b/
oslib/linux-blkzoned.c
@@
-242,6
+242,8
@@
int blkzoned_report_zones(struct thread_data *td, struct fio_file *f,
hdr->sector = offset >> 9;
ret = ioctl(fd, BLKREPORTZONE, hdr);
if (ret) {
+ log_err("%s: BLKREPORTZONE ioctl failed, ret=%d, err=%d.\n",
+ f->file_name, ret, -errno);
ret = -errno;
goto out;
}