83d4664f33
Rewrite lockrange and unlockrange. The lock table is now a fixed size, so there is no possibility for race conditions when expanding. The current size (256 locked ranges) should be large enough that it makes no sense to expand it. To do expansion right would require quiescing the plex (requiring at least 256 I/O completions), and the performance implications are horrendous. Add a mutex per plex for accessing the lock table. Based on analysis by: tegge |
||
---|---|---|
.. | ||
COPYRIGHT | ||
makestatetext | ||
request.h | ||
statetexts.h | ||
vinum.c | ||
vinumconfig.c | ||
vinumdaemon.c | ||
vinumext.h | ||
vinumhdr.h | ||
vinuminterrupt.c | ||
vinumio.c | ||
vinumio.h | ||
vinumioctl.c | ||
vinumkw.h | ||
vinumlock.c | ||
vinummemory.c | ||
vinumparser.c | ||
vinumraid5.c | ||
vinumrequest.c | ||
vinumrevive.c | ||
vinumstate.c | ||
vinumstate.h | ||
vinumutil.c | ||
vinumvar.h |