diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-01-24 23:36:45 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-01-30 14:06:27 +0530 |
commit | ed10bd81d0f348a3bce39b77fb41be31019fc4b6 (patch) | |
tree | 57d47dec78b8d5cc8a456144a7f5fd531f74224c /sanity | |
parent | 80ed64e2245d6604b0052d4fe3c8e537e7975e76 (diff) |
ping_pong: spawn multiple threads, which will do locking on the same fd
This patch provides an option for the user to give the number of threds
as an argument. Before, ping_pong functionlity (i.e. locking the byte range)
was done in a separate single thread. With this patch depending upon the
input argument, multiple threads will be spawned all of which will try
to do the locking using the same fd.
Change-Id: Ib68bef407d75351664a76e81474814bd703d285c
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Diffstat (limited to 'sanity')
0 files changed, 0 insertions, 0 deletions