| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
a few lines into <sys/vnode.h>.
Add a few fields to struct specinfo, paving the way for the fun part.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
with EGCS's f77.
Noticed still alive by: bde
|
| |
|
|
|
|
| |
Info provided by: Ollivier Robert <roberto@keltia.freenix.fr>
|
|
|
|
|
|
|
|
| |
- %q -> %ll.
Fixed nearby errors not reported by gcc -Wformat on i386's:
- don't assume that the promotion of [u_]int64_t is [u_]quad_t.
- don't use signed formats for unsigned args.
|
|
|
|
| |
long to hide problems on alphas).
|
|
|
|
|
|
|
|
|
| |
- %q -> %ll; don't assume that the promotion of off_t is quad_t; only
assume that off_t's are representable as long longs.
- printing of dev_t's was completely broken.
Fixed nearby printf format errors not reported by gcc -Wformat on i386's:
- printing of ino_t's and pointers was sloppy.
|
|
|
|
|
| |
PR: 12910
Submitted by: Peter Holm <peter@holm.cc>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
%G formats.
|
|
|
|
| |
Submitted by: Tomohiko Kurahashi <kura@tim.hi-ho.ne.jp>
|
|
|
|
|
|
| |
kernel builds with Vinum.
Linted-by: phk
|
|
|
|
|
|
|
|
|
| |
kernels again, now that we're using EGCS/GCC 2.9+. This "here"
file is compatible with the Bourne shell and the Korn shell (incl. pdksh
and KSH93 from AT&T, which I do have), so it doesn't make newvers.sh
unportable, but makes it easier to modify in the future/read now.
Submitted by: green
|
|
|
|
| |
PR: misc/12920
|
|
|
|
|
|
|
|
| |
was installed in /usr/bin normally got clobbered when objformat
was installed. Indirection through objformat is correct although
underscore handling is the only thing that differs for aout and
elf -- going through objformat is the easiest way to set c++filt's
underscore handling flag correctly.
|
| |
|
|
|
|
|
| |
user requests. Note that nothing can be said about the value of 'user'
unless User != NULL.
|
|
|
|
|
|
|
|
|
|
| |
warnings of the following nature on reloading a kld:
WARNING: "vinum" is usurping "console"'s bmaj
This only applies to cases where "console" is mentioned.
Broken-by: grog
|
|
|
|
| |
Reviewed by: msmith
|
| |
|
|
|
|
| |
least before enabling it in LINT and merging it into RELENG_3.
|
|
|
|
|
|
| |
after having been removed in 1.253 and turned into a warning.
Noticed by: bde
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Add Cybernet copyright.
OK'd-by: Chuck Jacobus <chuck@cybernet.com>
|
| |
|
|
|
|
|
|
|
| |
Add function definition for readpol command.
Rewrite make_devices with a view to incremental making. In the
process, effectively kill off plex-bound subdisk device numbers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add Cybernet copyright.
OK'd-by: Chuck Jacobus <chuck@cybernet.com>
vinum_ldi:
Calculate the percentage used correctly.
vinum_lsi:
Flag detached subdisks.
vinum_info:
Request info: get the major and minor numbers and print them
correctly.
list_defective_objects:
New function, for listing objects which aren't up after vinum_start.
Requested-by: Steve Taylor <staylor@cybernet.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
wait correctly for completion.
set object in initializing state before initializing.
Don't set the plex up, it should go up automatically.
vinum_start:
If any objects are not up on start, list them.
Requested-by: Steve Taylor <staylor@cybernet.com>
vinum_attach:
Make sure we always have the object information before examining it.
vinum_replace:
Start writing.
create_drive, vinum_concat, vinum_stripe, vinum_mirror:
Check the ioctl return values correctly
vinum_readpol:
Start writing.
|
|
|
|
|
|
|
|
|
|
|
| |
Add Cybernet copyright.
OK'd-by: Chuck Jacobus <chuck@cybernet.com>
Define VINUM_BLOCK_SD and VINUM_CHAR_SD macros to create raw subdisk
device numbers.
Add VF_HOTSPARE flag.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add Cybernet copyright.
OK'd-by: Chuck Jacobus <chuck@cybernet.com>
update_plex_state:
If any subdisk in the plex is initializing, set the plex to
initializing state. This gets rid of the ugly corrupt/degraded/up
transitions which previously occurred.
Desired-by: Steve Taylor <staylor@cybernet.com>
sddownstate:
Add new function, used by checksdstate.
checksdstate:
Let sddownstate decide what status to return.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add Cybernet copyright.
OK'd-by: Chuck Jacobus <chuck@cybernet.com>
logrq: save device major and minor numbers to compensate for lost
dev_t.
launch_requests: Don't issue requests which are marked
XFR_BAD_SUBDISK. This may make things easier in bre().
bre:
Rearrange.
- Change some comments
- Recognize holes in plex structure. Formerly this could lead to
incorrect write to the plex. Return REQUEST_DEGRADED on a read
request, but carry on to the bitter end on a write request, and
mark the requests for the inaccessible subdisks with
XFR_BAD_SUBDISK.
- return REQUEST_EOF if the requested transfer goes beyond the end
of the plex. This is not an error, since other plexes may go
further into the volume address space.
build_read_request:
Handle REQUEST_DEGRADED returned from bre().
sdio:
Lock buffer before issuing the requests.
|
|
|
|
|
|
| |
Add Cybernet copyright.
OK'd-by: Chuck Jacobus <chuck@cybernet.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add Cybernet copyright.
OK'd-by: Chuck Jacobus <chuck@cybernet.com>
detchobject: Don't update the object configuration.
replaceobject: Add preliminary code. This is not yet complete.
vinumw.h vinumparser.c:
Add keyword 'hotspare'.
|
|
|
|
| |
plex. The code is not yet complete.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
will only accept partitions of type 'vinum'.
format_config: Use the new %q format option in kvprintf, thus getting
rid of some of the filthiest code I've written in a long time. Also
remove the lltoa() function.
With-great-thanks-to: peter
format_config: Accept the fact that a subdisk might not be attached to
a plex, and save the config correctly.
vinum_scandisk: Scan all slices on a drive with a Microsoft partition
table. Only look at the compatibility slice if nothing was found in
the Microsoft slices.
This change removes a frequently employed method of shooting
yourself in the foot: people would decide that the Vinum drives
belonged on their own slice, and they wouldn't be able to start the
subsystem after a reboot. Documentation updates to follow.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
initialize subdisks. Probably the plex-related subdisk type will die
a death.
vinumconfig.c:
Accept (and ignore) kernel state information in userland config
files. This saves a lot of error recovery and also makes it possible
to use the output of printconfig to create new configuration.
Remove checkdiskconfig(). It wasn't needed any more.
Start adding support for hot spare drives. You can't put anything on
them (yet).
Change message formats from %lld to %qd.
get_empty_sd: Initialize size to -1. Previously this was done in
config_subdisk, which is the wrong place.
start_config: set current drive, plex and volume to -1, thus stopping
update configurations from taking their defaults from old configs.
|
|
|
|
|
|
|
|
| |
requeststatus:
add REQUEST_DEGRADED status
struct rqinfo:
add members devmajor and devminor to compensate for lost dev_t.
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the pathname translation procedure. This proves fatal, and can be
easily fixed. This or a similar change needs to be committed to svr4_util.h
and ibcs2_util.h. I will update ibcs2_util.h, if noone else thinks of a
better way to do this, in the same manner. I will leave svr4 to the
respective maintainer.
This closes the problem of the only crash I've been able to produce as
a user recently, except for (currently not-in-the-source tree) fd
table sharing fixes. Thanks goes to pho for his stress-testers.
|
|
|
|
|
| |
in GENERIC. Now a dhcp-configured system will both install and boot
initially with proper interface configuration.
|
|
|
|
|
|
| |
of 2 weeks ago that this be done, and anyone who wishes to make bpf more
selective according to securelevel or compile-time options is more
than free to do so.
|