| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
all requests from the queue if request number is not given.
Bump version number.
Approved by: re (scottl)
|
| |
|
|
|
|
|
| |
This should close the race observed by Daniel Eriksson.
- Remove redundant wakeup().
|
|
|
|
| |
Reported by: Daniel Eriksson
|
| |
|
|
|
|
|
|
|
| |
post an event to the geom event queue that will take care of it,
letting outstanding bios finish, and closing the consumers.
Plus some cosmetic clean ups.
|
|
|
|
| |
Noticed by: Coverity Prevent analysis tool
|
|
|
|
| |
Noticed by: Coverity Prevent analysis tool
|
|
|
|
| |
Suggested by: Coverity Prevent analysis tool
|
|
|
|
| |
Found by: Coverity Prevent analysis tool
|
| |
|
|
|
|
|
| |
PR: kern/80427
Submitty by: Stijn Hoop <stijn@win.tue.nl>
|
|
|
|
|
|
| |
Before this fix one was able to insert one sector too small provider.
MFC after: 3 days
|
|
|
|
|
|
|
| |
resides on. Fix the special case of the filesystem fragment size not
evenly dividing the size of the provider. Fixing the general case
probably requires better superblock validation (left as an exercise to
the reader).
|
|
|
|
| |
use root_mount KPI instead.
|
|
|
|
|
| |
GEOM could (and will) get events as a result of drivers coming in
late so a one-shot method is not good enough for GEOM.
|
|
|
|
|
|
|
|
|
|
|
|
| |
While we wait for holds to be released, print a list of who holds us
back once per second.
Use the new KPI from GEOM instead of vfs_mount.c calling g_waitidle().
Use the new KPI also from ata.
With ATAmkIII's newbusification, ata could narrowly miss the window
and ad0 would not exist when we tried to mount root.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|