X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Fosd-zfs%2Fosd_io.c;h=389213d6bc233036f8e297de2e0046d23ae4bfa6;hb=ff9ac8af1e5bb009f0353e28fcea63902cff0066;hp=a253a9c16a1d454ef03b33a645411fcbfc0a58c4;hpb=049a96e78011c7a908596b809044dae1963e6fda;p=fs%2Flustre-release.git diff --git a/lustre/osd-zfs/osd_io.c b/lustre/osd-zfs/osd_io.c index a253a9c..389213d 100644 --- a/lustre/osd-zfs/osd_io.c +++ b/lustre/osd-zfs/osd_io.c @@ -204,8 +204,6 @@ static ssize_t osd_write(const struct lu_env *env, struct dt_object *dt, LASSERT(th != NULL); oh = container_of0(th, struct osd_thandle, ot_super); - record_start_io(osd, WRITE, 0); - dmu_write(osd->od_os, obj->oo_db->db_object, offset, (uint64_t)buf->lb_len, buf->lb_buf, oh->ot_tx); write_lock(&obj->oo_attr_lock); @@ -227,9 +225,6 @@ static ssize_t osd_write(const struct lu_env *env, struct dt_object *dt, rc = buf->lb_len; out: - record_end_io(osd, WRITE, 0, buf->lb_len, - buf->lb_len >> PAGE_SHIFT); - RETURN(rc); }