mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
add nullrw feature to facilitate benchmarking
This commit is contained in:
parent
63f84b255f
commit
87c2f2f9dc
12 changed files with 164 additions and 12 deletions
|
|
@ -129,5 +129,15 @@ namespace mergerfs
|
|||
{
|
||||
return write(_write_direct_io,buf,count,offset,ffi);
|
||||
}
|
||||
|
||||
int
|
||||
write_null(const char *fusepath,
|
||||
const char *buf,
|
||||
size_t count,
|
||||
off_t offset,
|
||||
fuse_file_info *ffi)
|
||||
{
|
||||
return count;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue