Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-10810 clio: SEEK_HOLE/SEEK_DATA on client side
[fs/lustre-release.git]
/
lustre
/
mdc
/
mdc_dev.c
diff --git
a/lustre/mdc/mdc_dev.c
b/lustre/mdc/mdc_dev.c
index
eddfdda
..
cbe0201
100644
(file)
--- a/
lustre/mdc/mdc_dev.c
+++ b/
lustre/mdc/mdc_dev.c
@@
-1326,6
+1326,10
@@
static struct cl_io_operations mdc_io_ops = {
.cio_start = mdc_io_fsync_start,
.cio_end = osc_io_fsync_end,
},
+ [CIT_LSEEK] = {
+ .cio_start = osc_io_lseek_start,
+ .cio_end = osc_io_lseek_end,
+ },
},
.cio_read_ahead = mdc_io_read_ahead,
.cio_submit = osc_io_submit,