Hi,
I'm having a problem with a simple sanity check performed by 'iozone -a'.
Basically, iozone create a file with a permission value of 0 and then it tries
to truncate it:
1) fd = open("file", O_WRONLY|O_CREAT, 0)
2) ftruncate(fd, 0)
In zfs-fuse, the ftruncate() call ends up calling zfs_setat
Ricardo Correia wrote:
> Hi,
>
> I'm having a problem with a simple sanity check performed by 'iozone -a'.
>
> Basically, iozone create a file with a permission value of 0 and then it
> tries
> to truncate it:
>
> 1) fd = open("file", O_WRONLY|O_CREAT, 0)
> 2) ftruncate(fd, 0)
>
> In zfs-fuse