9p-synth.h (f74425e267f81f0f94adf47ecbd66224e0461936) 9p-synth.h (af46a3b233787323417bbca7b1aa3290935a5bdf)
1/*
2 * 9p
3 *
4 * Copyright IBM, Corp. 2011
5 *
6 * Authors:
7 * Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
8 *

--- 41 unchanged lines hidden (view full) ---

50 v9fs_synth_write write, void *arg);
51
52/* qtest stuff */
53
54#define QTEST_V9FS_SYNTH_WALK_FILE "WALK%d"
55#define QTEST_V9FS_SYNTH_LOPEN_FILE "LOPEN"
56#define QTEST_V9FS_SYNTH_WRITE_FILE "WRITE"
57
1/*
2 * 9p
3 *
4 * Copyright IBM, Corp. 2011
5 *
6 * Authors:
7 * Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
8 *

--- 41 unchanged lines hidden (view full) ---

50 v9fs_synth_write write, void *arg);
51
52/* qtest stuff */
53
54#define QTEST_V9FS_SYNTH_WALK_FILE "WALK%d"
55#define QTEST_V9FS_SYNTH_LOPEN_FILE "LOPEN"
56#define QTEST_V9FS_SYNTH_WRITE_FILE "WRITE"
57
58/* for READDIR test */
59#define QTEST_V9FS_SYNTH_READDIR_DIR "ReadDirDir"
60#define QTEST_V9FS_SYNTH_READDIR_FILE "ReadDirFile%d"
61#define QTEST_V9FS_SYNTH_READDIR_NFILES 100
62
58/* Any write to the "FLUSH" file is handled one byte at a time by the
59 * backend. If the byte is zero, the backend returns success (ie, 1),
60 * otherwise it forces the server to try again forever. Thus allowing
61 * the client to cancel the request.
62 */
63#define QTEST_V9FS_SYNTH_FLUSH_FILE "FLUSH"
64
65#endif
63/* Any write to the "FLUSH" file is handled one byte at a time by the
64 * backend. If the byte is zero, the backend returns success (ie, 1),
65 * otherwise it forces the server to try again forever. Thus allowing
66 * the client to cancel the request.
67 */
68#define QTEST_V9FS_SYNTH_FLUSH_FILE "FLUSH"
69
70#endif