Lukas Ertl
2c1305420f
When doing round-robin reads from a multi-plex volume, only switch to the
...
next plex if the sector to be read isn't nearby the last read sector.
Submitted by: Vsevolod Lobko <seva@ip.net.ua> via ru@
Approved by: grog (mentor)
2004-03-19 10:28:34 +00:00
Greg Lehey
93573e2e76
Change the way the plex lock mutexes work. Previously they were part
...
of the struct plex, which tore apart the mutex linked lists when the
plex table was expanded. Now we maintain a pool of mutexes (currently
32) to be shared by all plexes. This is still a lot better than the
splhigh() method used in other architectures.
Add and clarify comments.
Approved by: re (jhb)
2003-05-23 01:15:30 +00:00
Greg Lehey
3cff2a7306
Add sector size member to subdisk, plex and volume objects.
2003-05-05 08:43:15 +00:00
Greg Lehey
8b2087987e
White space fixes.
2003-05-05 05:34:39 +00:00
Tom Rhodes
d394511de3
More s/file system/filesystem/g
2002-05-16 21:28:32 +00:00
Poul-Henning Kamp
408ab1b875
Retire the bogus ioctl DIOCGPART in toto.
...
Once again we can notice that badly thought out hacks ferment and infect
far more code than initially expected.
Sponsored by: DARPA and NAI Labs.
2002-04-02 11:52:13 +00:00
Poul-Henning Kamp
13c0a6f45e
Stop using the bogus DIOCGPART ioctl, use DIOCGSECTORSIZE and
...
DIOCGMEDIASIZE instead.
The partition type check has been XXX'ed out since we cannot expect
that a BSD disklabel with a type field be available on all platforms.
2002-04-02 11:40:45 +00:00
Greg Lehey
7b4bf18baa
Change #if VINUMDEBUG to #ifdef VINUMDEBUG. This is a flag, not a variable.
2001-05-23 23:24:05 +00:00
Greg Lehey
dd3dced8c4
Move objflags from vinumvar.h to vinumobj.h in preparation for
...
requiring fewer header files for userland programs.
2001-05-23 05:27:15 +00:00
Greg Lehey
1739a10826
New file containing definitions for separate views of objects for
...
userland and kernel.
2001-05-22 01:41:12 +00:00