[PATCH#3] fake data io module for samba

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Dec 27 04:44:48 MST 2014


On Fri, Dec 26, 2014 at 12:41:32PM -0700, Christof Schmitt wrote:
> Having a user explicitly set "fake_io:destroy data" to "yes", should be
> a sufficient warning.

Sounds good.

> For shares with async i/o enabled, you probably also need to intercept the
> async calls (pread_send, pwrite_send).

Yep. One thing this module could test would be some
arbitrary or random delay in the async pread/pwrite
operations in order to test the for example our client-side
crediting algorithm. If we hold back some requests
server-side, the client should fill the pipe according to
the available credits and continue when they become
available.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list