| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: bin/71485
Submitted by: Jukka A. Ukkonen
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
0xffffffff sectors. Document this limit and avoid installing bogus
labels on disks with more sectors.
Allowing the installation of labels addressing as much of the disk as
possiable may be a useful addition in some situations, but this was easy
to implement and should reduce confusion.
PR: bin/71408
|
|
|
|
|
|
|
| |
also print out the option that is unknow so that the user knows what (s)he
did wrong..
MFC after: 3 days
|
|
|
|
|
| |
fix a 5.x'ism that 4.x needs protection from.
make this code compile standalone.
|
| |
|
|
|
|
|
|
| |
e.g. mirror/<name>, stripe/<name>.
Approved by: phk
|
|
|
|
|
|
|
|
|
| |
increasing it. Add code to ifconfig to use this size to find the
sockaddr_dl after the struct if_data in the routing message. This
allows struct if_data to grow (up to 255 bytes) without breaking
ifconfig.
Submitted by: peter
|
| |
|
|
|
|
| |
Inspired by: kan
|
| |
|
|
|
|
| |
Ok'ed by: fjoe
|
|
|
|
| |
sysctl tool to print a more readable value for temperatures.
|
|
|
|
|
|
|
| |
of parity component, because we can't return an EIO error for read of
every sector which wasn't written first.
Discussed with: phk
|
|
|
|
|
|
|
|
|
|
|
| |
keyword but without 'logamount' limit the amount of their log messages
by net.inet.ip.fw.verbose_limit sysctl value.
RELENG_5 candidate.
PR: kern/46080
Submitted by: Dan Pelleg
MFC after: 1 week
|
| |
|
|
|
|
| |
Requested by: Michael Handler <handler@grendel.net>
|
|
|
|
|
| |
only.
- Use getprogname() function when informing about versions problem.
|
|
|
|
|
|
| |
PR: bin/70311
Submitted by: Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
MFC after: 3 days
|
|
|
|
| |
Submitted by: kuriyama
|
| |
|
|
|
|
|
|
|
|
| |
verification of regular data when device is in complete state.
On verification error, EIO error is returned for the bio and sysctl
kern.geom.raid3.stat.parity_mismatch is increased.
Suggested by: phk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as well, even if device is in complete state.
I observe 40% of speed-up with this option for random read operations,
but slowdown for sequential reads.
Basically, without this option reading from a RAID3 device built from 5
components (c0-c4) looks like this:
Request no. Used components
1 c0+c1+c2+c3
2 c0+c1+c2+c3
3 c0+c1+c2+c3
With the new feature:
Request no. Used components
1 c0+c1+c2+c3
2 (c1^c2^c3^c4)+c1+c2+c3
3 c0+(c0^c2^c3^c4)+c2+c3
4 c0+c1+(c0^c1^c3^c4)+c3
5 c0+c1+c2+(c0^c1^c2^c4)
6 c0+c1+c2+c3
[...]
|
|
|
|
|
|
|
|
| |
has only been partly initialized via newfs(8) so that it applies to both
UFS1 and UFS2.
Submitted by: "Xin LI" delphij at frontfree dot net
MFC: maybe?
|
|
|
|
|
| |
- Connect it to the build.
- Inform geom(8) about it.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add manual page for gmirror(8) utility.
|
|
|
|
|
|
|
| |
- Connect it to the build.
- Inform geom(8) manual page about it.
Reviewed by: trhodes
|
|
|
|
|
|
|
| |
rather than the one from libz, corresponding to a function, when
linking statically.
PR: bin/70392
|
| |
|
|
|
|
|
|
|
| |
transformation and graid3(8) userland utility, which can be used for
configuration. No manual page yet, sorry.
Hardware provided by: Daniel Seuffert
|
|
|
|
| |
PR: 56653
|
|
|
|
|
|
|
|
| |
Only the actual loopback address should be declared passive, other
addresses are very likely to be desirable to announce.
Check for IFF_LOOPBACK instead of IFF_PASSIVE to determine if we have
an unknown interface type.
|
| |
|
|
|
|
|
| |
Pointed out by: simon
Approved by: bmilekic (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the only thing truly unique about a prison is it's ID, I figured
this would be the most granular way of handling this.
This commit makes the following changes:
- Adds tokenizing and parsing for the ``jail'' command line option
to the ipfw(8) userspace utility.
- Append the ipfw opcode list with O_JAIL.
- While Iam here, add a comment informing others that if they
want to add additional opcodes, they should append them to the end
of the list to avoid ABI breakage.
- Add ``fw_prid'' to the ipfw ucred cache structure.
- When initializing ucred cache, if the process is jailed,
set fw_prid to the prison ID, otherwise set it to -1.
- Update man page to reflect these changes.
This change was a strong motivator behind the ucred caching
mechanism in ipfw.
A sample usage of this new functionality could be:
ipfw add count ip from any to any jail 2
It should be noted that because ucred based constraints
are only implemented for TCP and UDP packets, the same
applies for jail associations.
Conceptual head nod by: pjd
Reviewed by: rwatson
Approved by: bmilekic (mentor)
|
|
|
|
|
| |
be staticaly linked.
This fixes problems on systems compiled with NO_DYNAMICROOT.
|
|
|
|
|
|
| |
This is implemented through SNMP and requires the ilmi daemon to
run on the system. To prevent bloat in rescue the atmconfig for
rescue is compiled without this stuff.
|
|
|
|
|
| |
which allow to store provider's name in the metadata and avoid
problems when few providers share the same last sector.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For incoming packets, the packet's source address is checked if it
belongs to a directly connected network. If the network is directly
connected, then the interface the packet came on in is compared to
the interface the network is connected to. When incoming interface
and directly connected interface are not the same, the packet does
not match.
Usage example:
ipfw add deny ip from any to any not antispoof in
Manpage education by: ru
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
It allows to fix problems when last provider's sector is shared between few
providers.
- Bump version number for CONCAT and STRIPE and add code for backward
compatibility.
- Do not bump version number of MIRROR, as it wasn't officially introduced yet.
Even if someone started to play with it, there is no big deal, because
wrong MD5 sum of metadata will deny those providers.
- Update manual pages.
- Add version history to g_(stripe|concat).h files.
|
|
|
|
| |
name MD_MODNAME, and make mdconfig use this new define...
|
|
|
|
|
|
|
|
|
|
|
|
| |
the bug exists in little-endian machine, it was not triggered due
to the difference of memory ordering between little/big endian
machines. Instead of relying on possibly modified value during
function invokcations, use saved copy of ifr.ifr_addr.sa_family.
Also add a comment at the top of ifconfig.c clarifying the issue
so the bug won't re-appear.
Approved by: jake
Reviewed by: yar
|
|
|
|
|
| |
support for the T multiplier; improve the error message for unrecognized
multipliers.
|
|
|
|
| |
avoid confusing auto-indenting editors.
|
| |
|