diff options
-rw-r--r-- | libglusterfs/src/libglusterfs.sym | 4 | ||||
-rw-r--r-- | xlators/performance/io-threads/src/io-threads.c | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/libglusterfs/src/libglusterfs.sym b/libglusterfs/src/libglusterfs.sym index 500f69a9893..41231fc90d1 100644 --- a/libglusterfs/src/libglusterfs.sym +++ b/libglusterfs/src/libglusterfs.sym @@ -345,6 +345,10 @@ default_zerofill default_zerofill_cbk default_zerofill_failure_cbk default_zerofill_resume +default_put +default_put_cbk +default_put_failure_cbk +default_put_resume __dentry_grep dht_is_linkfile dict_add diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c index a5a9543ae39..501e4019e90 100644 --- a/xlators/performance/io-threads/src/io-threads.c +++ b/xlators/performance/io-threads/src/io-threads.c @@ -331,6 +331,7 @@ iot_schedule (call_frame_t *frame, xlator_t *this, call_stub_t *stub) case GF_FOP_FSETXATTR: case GF_FOP_REMOVEXATTR: case GF_FOP_FREMOVEXATTR: + case GF_FOP_PUT: pri = GF_FOP_PRI_NORMAL; break; @@ -472,6 +473,17 @@ iot_create (call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, int +iot_put (call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, + mode_t umask, uint32_t flags, struct iovec *vector, int32_t count, + off_t offset, struct iobref *iobref, dict_t *xattr, dict_t *xdata) +{ + IOT_FOP (put, frame, this, loc, mode, umask, flags, vector, count, + offset, iobref, xattr, xdata); + return 0; +} + + +int iot_readv (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, off_t offset, uint32_t flags, dict_t *xdata) { @@ -1222,6 +1234,7 @@ struct xlator_fops fops = { .lease = iot_lease, .getactivelk = iot_getactivelk, .setactivelk = iot_setactivelk, + .put = iot_put, }; struct xlator_cbks cbks = { |