| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reported by: maxim
|
|
|
|
|
|
|
|
| |
processing when QUOTA is set.
Reported and tested by: Peter Holm
Reviewed by: tegge
MFC after: 3 days
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
| |
- Bump modification date.
- Update copyright years.
|
|
|
|
|
|
|
| |
sys/types.h is included in sys/param.h, so instead just move the
#include <sys/param.h> before the headers that need it.
Spotted out by: bde
|
| |
|
| |
|
| |
|
|
|
|
| |
file is also called "sendpr", not "send-pr".
|
| |
|
|
|
|
|
|
|
|
| |
- Do not modify mnt_flag without mount interlock held.
- Do not touch MNT_ASYNC flag, as this can lead to a race with nmount(2).
Pointed out by: tegge
Reviewed by: tegge
|
|
|
|
| |
Reported by: Peter Grehan <grehan@freebsd.org>
|
|
|
|
|
|
|
|
|
|
| |
RSTP provides faster spanning tree convergence, the protocol will exchange
information with neighboring switches to quickly transition to forwarding
without creating loops. The code will default to RSTP mode but will downgrade
any port connected to a legacy STP network so is fully backward compatible.
Reviewed by: syrinx
Tested by: syrinx
|
|
|
|
|
| |
use with DTrace because the normal buildworld will do that when the
tools are built.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to WITH_CDDL.
This option enables building code that is licensed under Sun's CDDL.
The DTrace code is licensed that way, so by default it will get built
unless the WITHOUT_CDDL option is used.
There is another build toggle, NO_CTF, which turns off execution of
ctfconvert and ctfmerge in sys.mk, but this can't be implemented as
WITH_/WITHOUT because bsd.own.mk isn't included in all Makefiles and
sys.mk is included automatically by make.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a lock to prevent interspersed strings written from different CPUs
at the same time.
To avoid putting a buffer on the stack or having to malloc one,
space is incorporated in the per-cpu structure. The buffer
size if 128 bytes; chosen because it's the next power of 2 size
up from 80 characters.
String writes to the console are buffered up the end of the line
or until the buffer fills. Then the buffer is flushed to all
console devices.
Existing low level console output via cnputc() is unaffected by
this change. ithread calls to log() are also unaffected to avoid
blocking those threads.
A minor change to the behaviour in a panic situation is that
console output will still be buffered, but won't be written to
a tty as before. This should prevent interspersed panic output
as a number of CPUs panic before we end up single threaded
running ddb.
Reviewed by: scottl, jhb
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Approved by: cognet
|
|
|
|
| |
Reviewed by: ru, deischen
|
|
|
|
| |
submitted by: Jean Milanez Melo
|
| |
|
| |
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
|
|
|
|
|
|
| |
and -p flag was given perform fast file system checking (bascially only
garbage collecting of orphaned objects).
Rename bread() to blread() and bwrite() to blwrite() as we now link to
the libufs library, which also implement functions with that names.
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
|
|
|
| |
MNT_GJOURNAL flag is not a mount-time flag, but it is needed to show
'gjournal' option in mount(8) output.
Sponsored by: home.pl
|
|
|
|
|
|
|
|
| |
support.
I left -j flag for UFS journal implementation which we may gain at some
point.
Sponsored by: home.pl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add FS_GJOURNAL flag which enables gjournal support on a file system.
- Add cg_unrefs field to the cylinder group structure which holds
number of unreferenced (orphaned) inodes in the given cylinder group.
- Add fs_unrefs field to the super block structure which holds
total number of unreferenced (orphaned) inodes.
- When file or a directory is orphaned (last reference is removed, but
object is still open), increase fs_unrefs and cg_unrefs fields,
which is a hint for fsck in which cylinder groups looks for such
(orphaned) objects.
- When file is last closed, decrease {fs,cg}_unrefs fields.
- Add VV_DELETED vnode flag which points at orphaned objects.
Sponsored by: home.pl
|
| |
|
|
|
|
|
|
|
|
|
|
| |
support enabled.
Add mnt_gjprovider field which keeps gjournal provider's name on which
file system is placed on. This allows to not place file system on gjournal
directly and allows gjournal class to pair gjournal provider with file
system.
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
|
|
|
|
| |
journaling and can be tought about marking file system as clean before
doing journal switch, which easly allows to add journaling to file
systems that don't have this feature.
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
| |
Sponsored by: home.pl
|
|
|
|
|
|
| |
can handle BIO_FLUSH requests.
Sponsored by: home.pl
|
|
|
|
|
|
|
| |
flush their caches. For now will mostly be used by disks to flush their
write cache.
Sponsored by: home.pl
|
|
|
|
| |
Submitted by: Pawel Worach
|
|
|
|
|
|
|
| |
This bug results in data corruption with NFS/TCP. Writes are silently dropped
on EWOULDBLOCK (because socket send buffer is full and sockbuf timer fires).
Reviewed by: ups@
|
|
|
|
|
|
|
| |
to the usermode. Usually, signal handler segfaulted on return.
Reviewed by: jhb
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
during detach() similar to other NIC drivers rather than allocating them
during init() and freeing them during stop():
- Move creation of tx bus_dma tag amd maps and tx_buffer_area from
em_setup_transmit_structures() to em_allocate_transmit_structures().
- Call em_allocate_xxx_structures() in em_attach().
- Only call em_free_xxx_structures() in em_detach().
- Change em_setup_xxx_structures() to free any existing tx or rx buffers
and in the case of rx repopulate the ring with newer buffers.
Reviewed by: jfv
|
|
|
|
|
|
|
|
| |
- Drain the two timers in detach.
- Check IFF_DRV_RUNNING in the link task and bail w/o doing anything if
it is clear.
Reviewed by: jfv, scottl
|
|
|
|
|
|
|
|
|
|
|
| |
the EOP descriptor in the first descriptor of the packet. And then
in em_txeof() search for DD bits set only in the EOP descriptors,
embedding the cleanup of all packet's descriptors into inner loop.
This change is important for future chips, where DD bit is going
to be set only on the EOP descriptors.
Submitted by: jfv
|