Skip to content

v0.1.0 - first release

Latest
Compare
Choose a tag to compare
@hugelgupf hugelgupf released this 16 Sep 05:25
· 1 commit to main since this release
iscsinl: introduce ScanTimeout

The old loop would run for exactly 300ms, and then use the uevents
generated during that time. 300ms might not be long enough if it's on a
physical network link (our tests are VM only). However, we also need to
still support more than 1 LUN.

I'm not sure how to find out how many LUNs there are going to be
beforehand, so we don't know how many devices we are looking for.

So for now, we do the following: we keep looping to find matches, until
we're reasonably sure that no new ones are coming. We time out after 3
seconds, which any caller can change.

Signed-off-by: Chris Koch <chrisko@google.com>