| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=137198
|
| |
|
|
|
|
|
|
|
| |
PR: 71341
Submitted by: Phil Budne <phil@tripadvisor.com>
MT5 candidate.
Notes:
svn path=/head/; revision=135487
|
| |
|
|
|
|
|
|
|
|
|
| |
for unknown events.
A number of modules return EINVAL in this instance, and I have left
those alone for now and instead taught MOD_QUIESCE to accept this
as "didn't do anything".
Notes:
svn path=/head/; revision=132199
|
| |
|
|
|
|
|
| |
o Call kdb_enter() instead of Debugger().
Notes:
svn path=/head/; revision=131924
|
| |
|
|
|
|
|
|
|
| |
pointer.
Submitted by: cperciva
Notes:
svn path=/head/; revision=130913
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The big lines are:
NODEV -> NULL
NOUDEV -> NODEV
udev_t -> dev_t
udev2dev() -> findcdev()
Various minor adjustments including handling of userland access to kernel
space struct cdev etc.
Notes:
svn path=/head/; revision=130640
|
| |
|
|
|
|
|
| |
Bump __FreeBSD_version accordingly.
Notes:
svn path=/head/; revision=130585
|
| |
|
|
|
|
|
| |
Approved by: grog (mentor)
Notes:
svn path=/head/; revision=128623
|
| |
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=127199
|
| |
|
|
|
|
|
|
|
|
| |
dev_strategy().
Submitted by: dwmalone
Approved by: grog (mentor)
Notes:
svn path=/head/; revision=126850
|
| |
|
|
|
|
|
|
|
|
|
| |
prevented newfs to work on volumes that are larger than 1TB.
PR: 63577
Submitted by: Masaki Takakashi <mtakahashi@se.gtd.cosmo.co.jp>
Approved by: grog (mentor), bde
Notes:
svn path=/head/; revision=126776
|
| |
|
|
|
|
|
|
|
|
| |
Also, remove stale write_volume_label() declaration; the write_volume_label()
function was deleted 8 months ago.
Approved by: grog (mentor)
Notes:
svn path=/head/; revision=126769
|
| |
|
|
|
|
|
|
|
|
|
| |
The nonstandard formatting made my mega-patch scripts miss it.
Retire the static major number while we're here anyway.
Reported by: Niels Chr. Bank-Pedersen <ncbp@bank-pedersen.dk>
Notes:
svn path=/head/; revision=126157
|
| |
|
|
|
|
|
| |
Approved by: grog (mentor)
Notes:
svn path=/head/; revision=125897
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the "disappearing subdisks" problem when new subdisks can't be created
due to some errors.
This is in fact an ugly hack, but a more elegant solution would probably
require a redesign of vinum in several places.
Approved by: joerg (mentor)
Notes:
svn path=/head/; revision=125593
|
| |
|
|
|
|
|
|
|
|
|
| |
when checking the given stripe size.
Also move the code a bit around to avoid duplication.
Approved by: joerg (mentor)
Notes:
svn path=/head/; revision=125458
|
| |
|
|
|
|
|
|
|
|
|
| |
transfer size to the stripe size. This is a different
situation from reviving, where this limitation is necessary.
In initsd we're simply writing binary zeroes to the entire
disk, so the only effect of limiting the transfer is to slow
things down.
Notes:
svn path=/head/; revision=123540
|
| |
|
|
|
|
|
|
| |
it doesn't exist. This can occur under
certain failure situations.
Notes:
svn path=/head/; revision=123539
|
| |
|
|
|
|
|
|
| |
marked closed. This made it impossible to stop Vinum
after explicitly opening a plex or subdisk.
Notes:
svn path=/head/; revision=123538
|
| |
|
|
|
|
|
|
|
|
| |
Not mentioned by: phk
Approved by: re (scottl)
This makes Vinum work again, at least in my testing.
Notes:
svn path=/head/; revision=122972
|
| |
|
|
|
|
|
| |
Submitted by: grog
Notes:
svn path=/head/; revision=122964
|
| |
|
|
| |
Notes:
svn path=/head/; revision=121217
|
| |
|
|
|
|
|
|
|
| |
make sure we return any allocated space to the drive. This should get
rid of a number of inconsistencies (hopefully all) that have been seen
after configuration errors.
Notes:
svn path=/head/; revision=120574
|
| |
|
|
|
|
|
|
|
|
| |
world in /sbin.
Reported by: erwin
Pointy hat to: grog
Notes:
svn path=/head/; revision=120573
|
| |
|
|
|
|
|
|
| |
Requested by: phk
Explained by: rwatson
Notes:
svn path=/head/; revision=120566
|
| |
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119418
|
| |
|
|
|
|
|
|
|
|
| |
recent Vinum changes. Fixes non-i386 build on vinumio.c.
Accidental oversight of: grog
Fix hopefully not minded by: grog
Notes:
svn path=/head/; revision=118963
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Correctly handle additional disks without BIOS partition tables.
Previously, vinum_scandisk stopped scanning additional disks for
native partitions after any good partition was found. This applies
to all platforms, but was a particular problem on systems without
BIOS partition tables.
Submitted by: harti
Notes:
svn path=/head/; revision=118930
|
| |
|
|
|
|
|
|
|
| |
afterwards. This fixes the Vinum breakage in -CURRENT.
Breakage explained by: phk
Notes:
svn path=/head/; revision=118928
|
| |
|
|
|
|
|
|
| |
I was smoking when I wrote this stuff, but another fix resulted in
every partition in the system being entered as a "referenced" drive.
Notes:
svn path=/head/; revision=117095
|
| |
|
|
|
|
|
|
|
|
| |
work on sparc64 again, because on sparc i386-compatibility
partitions just happen to have the same name as sparc native partitions.
Okay-ed by: grog@
Notes:
svn path=/head/; revision=116736
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and return NULL.
vinum_scandisk: Don't handle NULL device pointers.
Only look at compatibility partition for i386. This
is a kludge which should go away once I have adequate
documentation for the New World Order.
Together, these fixes remove occasional error messages about
non-existent drives. They may also fix a number of problems that have
been reported without a PR.
PRs: None
Notes:
svn path=/head/; revision=116363
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116250
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116245
|
| |
|
|
|
|
|
|
|
|
|
|
| |
doesn't have one. The test was bogus on these architectures, but
recent changes broke it altogether.
Prompted by: phk
This should fix the recent SPARC 64 build problems.
Notes:
svn path=/head/; revision=116243
|
| |
|
|
|
|
|
|
|
| |
and recent changes broke it altogether.
Prompted by: phk
Notes:
svn path=/head/; revision=116242
|
| |
|
|
|
|
|
|
|
|
| |
It has been deprecated since December 1998, and recent changes broke
it altogether.
Prompted by: phk
Notes:
svn path=/head/; revision=116241
|
| |
|
|
|
|
|
| |
probably obsoleted by some changes a couple of months ago.
Notes:
svn path=/head/; revision=116239
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
to unload. This would cause a panic on the second resetconfig.
Start Vinum at boot time at SI_SUB_RAID, not SI_SUB_VINUM.
SI_SUB_VINUM was there first, but there's no real distinction, and
SI_SUB_RAID is a more neutral name.
Submitted by: hmp
Notes:
svn path=/head/; revision=115764
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
expand_table: Add parameters file and line if we're debugging.
Approved by: re (jhb)
Notes:
svn path=/head/; revision=115250
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=115249
|
| |
|
|
|
|
|
|
|
| |
MMalloc, vinum_meminfo: Use strlcpy to copy file name.
Approved by: re (jhb)
Notes:
svn path=/head/; revision=115248
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
Approved by: re (jhb)
Notes:
svn path=/head/; revision=115247
|
| |
|
|
|
|
|
|
|
| |
update_volume_config: Remove redundant diskconfig parameter.
Approved by: re (jhb)
Notes:
svn path=/head/; revision=115246
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
update_volume_config: Remove redundant diskconfig parameter.
expand_table: Add parameters file and line if we're debugging.
Approved by: re (jhb)
Notes:
svn path=/head/; revision=115245
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Ted Unangst <tedu@stanford.edu>
Correct some inaccurate and badly formatted comments.
config_subdisk: If our drive is down, ensure that the subdisk is
crashed. Previously it was possible for the subdisk
to be up when the drive was down.
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.
update_volume_config: Remove redundant diskconfig parameter.
Approved by: re (jhb)
Notes:
svn path=/head/; revision=115244
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Change config format slightly to save plex preferences correctly.
vinum_scandisk: reinitialise volatile pointer after function call.
This is the "deafc0de" bug.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=115147
|
| |
|
|
|
|
|
|
|
|
| |
needs to do it anyway to handle the startup case. This is
part of a fix for the recently reported hangs.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=114825
|
| |
|
|
|
|
|
|
| |
In the kernel it is wrong 99.9 times out of 100 to use %ll rather than cast
to intmax_t and use %j.
Notes:
svn path=/head/; revision=114741
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114718
|