fake data io module for samba
Jeremy Allison
jra at samba.org
Tue Oct 21 10:42:18 MDT 2014
On Tue, Oct 21, 2014 at 12:34:21PM +0200, Peter Somogyi wrote:
> Hi Samba team,
>
> I've found this trivial fake io module very useful for testing samba
> performance, therefore I suggest to put it into the main samba tree:
Code itself looks promising. However, you're catching
vfswrap_pwrite (you should probably change that to
vfs_fake_pwrite btw and also change vfswrap_pread
to vfs_fake_pread) but not catching any of the other
functions that can change the size.
For example you need to catch ftruncate_fn and
fallocate as well, plus to make it completely
generic you might need to ensure it's operating
on a non-stream handle.
Also, before I can 'Reviewed-by:' it, it needs to
have documentation as well (sorry :-).
Cheers,
Jeremy.
More information about the samba-technical
mailing list