Documentation ¶
Overview ¶
stresstest exposes a StressTest() function which can be used to stress test ldlm. It's particularly useful when checking for race conditions. It's meant to be used by ldlm developers and is not exposed via --help. To run:
ldlm-stress --help
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NoTimeout = int32(0)
)
Functions ¶
Types ¶
type Config ¶
type Config struct { SleepForMaxSeconds int32 `` /* 140-byte string literal not displayed */ NumClients int32 `desc:"Number of clients to run" default:"80" short:"c"` NumLocks int32 `desc:"Number of locks to create" default:"24" short:"l"` Address string `desc:"Address (host:port) at which the ldlm server is listening" default:"localhost:3144" short:"a"` RandomizeNames bool `desc:"Randomize lock names" default:"true" short:"r"` RandomizeInterval time.Duration `desc:"Interval at which to randomize lock names" default:"7s" short:"i"` UseTls bool `desc:"Use SSL" default:"false"` SkipVerify bool `desc:"Skip SSL verification" default:"false"` CAFile string `desc:"File containing client CA certificate." default:""` TlsCert string `desc:"File containing TLS certificate" default:""` TlsKey string `desc:"File containing TLS key" default:""` Password string `desc:"Password to send" default:""` }
Click to show internal directories.
Click to hide internal directories.