| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
in BSD and MBR classes, ie. if provider below us uses the same metadata,
don't create labels based on the metadata.
This allows to create labels on geoms with rank != 1 without hacks.
Tested by: Chris Elsworth <chris@shagged.org> on sparc64
OK'ed by: phk
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
process context.
Approved by: phk
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
completed I/O requests here.
- First allocate all needed bios, so if any of allocations fail, we can
free memory before sending any I/O requests down.
Reported by: Pawel Malachowski
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
disks in a system. Solaris' format(1m) displays the volume names in
the disk overview.
MFC after: 1 month
|
|
|
|
|
|
| |
experience.
Found by: Coverity (id #540 #541)
|
| |
|
|
|
|
| |
detach and destroy consumer before returning.
|
|
|
|
|
| |
Submitted by: sam
Found by: Coverity Prevent analysis tool
|
|
|
|
| |
Found by: Coverity (ID#258)
|
|
|
|
| |
Found by: Coverity (ID#450)
|
| |
|
|
|
|
|
|
|
| |
Submitted by: Ted Unangst
Found by: Coverity Prevent analysis tool
Approved by: phk
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
slice names on disks with extended partitions.
Spotted on: Mother-in-laws computer.
|
|
|
|
| |
this is required to integrate opencrypto into crypto.
|
|
|
|
|
|
| |
seem to be necessary anymore, and it prevents tasting a valid drive
when booting with geom_vinum already loaded, since SCSI disks set their
sectorsize not until first opening them.
|
| |
|
|
|
|
|
|
| |
Reset the 'syncing' flag in case of errors, too.
Some cosmetics.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shared-last-sector problem.
After this change, even if there is more than one provider with the same
last sector, the proper one will be chosen based on its size.
It still doesn't fix the 'c' partition problem (when da0s1 can be confused
with da0s1c) and situation when 'a' partition starts at offset 0
(then da0s1a can be confused with da0s1 and da0s1c). One can use '-h'
option there, when creating device or avoid sharing last sector.
Actually, when providers share the same last sector and their size is equal,
they provide exactly the same data, so the name (da0s1, da0s1a, da0s1c)
isn't important at all.
- Provide backward compatibility.
- Update copyright's year.
MFC after: 1 week
|
|
|
|
|
|
|
| |
the previous one failed and there are more than one plex in the volume.
This could have led to a flood of error messages on the console and
probably a deadlock in certain situations.
|
|
|
|
|
|
|
|
|
| |
patch from kan@).
Pull bufobj_invalbuf() out of vinvalbuf() and make g_vfs call it on
close. This is not yet a generally safe function, but for this very
specific use it is safe. This solves the problem with buffers not
being flushed by unmount or after failed mount attempts.
|
|
|
|
|
|
| |
detach it, but instead let the geom wither away.
Bump copyright year.
|
| |
|
| |
|
| |
|
|
|
|
| |
mutex to be held here, because we want speed here.
|
|
|
|
|
|
|
| |
This flag means "wait for all pending requests before returning to userland".
There are pending events for sure, because we just created new provider and
other classes want to taste it, but we cannot answer on I/O requests until
we're here.
|
|
|
|
|
| |
Submitted by: Andreas Kohn <andreas.kohn@gmail.com>
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
| |
4 mutex operations per I/O requests.
- Use only one mutex to protect both (incoming and outgoing) queue.
As MUTEX_PROFILING(9) shows, there is no big contention for this lock.
- Protect sc_queue_count with queue mutex, instead of doing atomic
operations on it.
- Remove DROP_GIANT()/PICKUP_GIANT() - ggate is marked as MPSAFE and no
Giant there.
|
| |
|
| |
|
|
|
|
|
|
| |
- Improve mediasize checking.
MFC after: 1 week
|
|
|
|
|
|
| |
length of the dump area accordingly.
Run into by: scottl
|
|
|
|
| |
Sponsored by: Isilon Systems, Inc.
|
| |
|
| |
|
|
|
|
| |
Sponsored By: Isilon Systems, Inc.
|
|
|
|
|
|
| |
really a state change.
Reword the info a bit.
|
|
|
|
| |
the plex has no more consumers (e.g. orphaning).
|
|
|
|
|
|
|
|
|
|
| |
in BSD class, ie. if provider below us uses the same metadata, don't
create slices based on the metadata.
This allows to create slices on geoms with rank != 1 without hacks.
Discussed with: phk
Approved by: phk
MFC after: 2 weeks
|
|
|
|
| |
with 'gv_' for consistency.
|
|
|
|
|
|
|
| |
worker thread may have been destroyed (e.g. during orphaning).
Make sure that objects get back their worker threads when they get a
new geom.
|
| |
|
|
|
|
|
| |
transfers. The necessary context for calling copyin() isn't available
anyway and automatic code-validation chokes on this.
|
|
|
|
|
| |
initialized. We already cancel the pending events but we need to not
dereference the geom pointer which never got set different from NULL.
|
|
|
|
|
|
|
|
| |
the given providers. Without even one of the configured components there
should be no way to get the secret.
Supported by: WHEEL Sp. z o.o.
http://www.wheel.pl
|
|
|
|
| |
and VOP_FSYNC() for now.
|
|
|
|
| |
MFC after: 3 days
|