| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Changes to take the working directory and the time duration for
which the test has to run from the user.
Change-Id: I2d56b0b0b640675dd52f4f3a6f17229e3cdf5d1a
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
|
|
|
|
|
|
|
|
|
|
| |
Currently the stack address of the structure which holds information about
the number of locks, fd etc is passed to the thread doing the locking.
Instead of sending the stack address, allocate memory from the heap and
use that address to send to the other thread.
Change-Id: I417e22aee0eed1fa921982e78239147553886786
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
|
|
|
|
|
|
|
| |
Some benchmarking related changes in threaded-io to print total
attempted and successful syscalls executed.
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
|
|
|
|
|
|
|
|
| |
some offset
This program creats a file if it does not exist (filename given as an argument), opens
it truncates it to the size mentioned in the argument (default 5GB), then writes some
data to some offset. Thus in general creates a sparse file and write into it.
|
| |
|
|
|
|
|
|
|
| |
ping_pong used to run indefinitely before. Now the locking functionality is
made to run in a separate thread and the main thread sleeps for the number
of seconds specified as a command line argument. By default it runs for
600 seconds.
|
|
|
|
| |
the argument
|
| |
|
|
|
|
| |
Can be enhanced to write some truncate based application.
|
| |
|
|
|
|
| |
file types
|
|
|