[Devel] [PATCH RHEL7 COMMIT] ploop: io_kaio remove direct_IO_page requirement
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Feb 19 14:02:58 MSK 2018
The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.17.1.vz7.43.7
------>
commit 046ad23bd14cb208668e37b77b9596790abe670e
Author: Dmitry Monakhov <dmonakhov at openvz.org>
Date: Mon Feb 19 14:02:58 2018 +0300
ploop: io_kaio remove direct_IO_page requirement
There is no longer users for direct_IO_page, remove requirement
https://jira.sw.ru/browse/PSBM-80680
Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
---
drivers/block/ploop/io_kaio.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/block/ploop/io_kaio.c b/drivers/block/ploop/io_kaio.c
index 10b841a012f8..af304e0814bd 100644
--- a/drivers/block/ploop/io_kaio.c
+++ b/drivers/block/ploop/io_kaio.c
@@ -1087,12 +1087,6 @@ static int kaio_autodetect(struct ploop_io * io)
return -1;
}
- if (file->f_mapping->a_ops->direct_IO_page == NULL) {
- printk("Cannot run kaio over fs (%s) w/o direct_IO_page\n",
- file->f_mapping->host->i_sb->s_type->name);
- return -1;
- }
-
return 0;
}
More information about the Devel
mailing list