add nullrw feature to facilitate benchmarking

This commit is contained in:
Antonio SJ Musumeci 2017-05-26 16:51:30 -04:00
parent 63f84b255f
commit 87c2f2f9dc
12 changed files with 164 additions and 12 deletions

View file

@ -99,6 +99,15 @@ namespace mergerfs
return rv;
}
int
write_buf_null(const char *fusepath,
fuse_bufvec *src,
off_t offset,
fuse_file_info *ffi)
{
return src->buf[0].size;
}
}
}