#
32e86a82 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sbin: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
4d846d26 |
|
10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
|
#
1de7b4b8 |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
various: general adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended.
|
#
6b66c350 |
|
26-Oct-2013 |
Mikolaj Golub <trociny@FreeBSD.org> |
Make hastctl list command output current queue sizes. Reviewed by: pjd MFC after: 1 month
|
#
14f200d9 |
|
01-Jul-2013 |
Mikolaj Golub <trociny@FreeBSD.org> |
Make hastctl(1) ('list' command) output a worker pid. Reviewed by: pjd MFC after: 3 days
|
#
2adbba66 |
|
25-Feb-2013 |
Mikolaj Golub <trociny@FreeBSD.org> |
Add i/o error counters to hastd(8) and make hastctl(8) display them. This may be useful for detecting problems with HAST disks. Discussed with and reviewed by: pjd MFC after: 1 week
|
#
2b1b224d |
|
10-Jan-2012 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
For functions that return -1 on failure check exactly for -1 and not for any negative number. MFC after: 3 days
|
#
b720f4aa |
|
15-Dec-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Remove redundant setting of the error variable. Found by: Clang Static Analyzer MFC after: 1 week
|
#
571fdd7e |
|
27-Sep-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Prefer PJDLOG_ASSERT() and PJDLOG_ABORT() over assert() and abort(). pjdlog versions will log problem to syslog when application is running in background. MFC after: 3 days
|
#
0687d71e |
|
05-Jul-2011 |
Mikolaj Golub <trociny@FreeBSD.org> |
Remove useless initialization. Approved by: pjd (mentor) MFC after: 3 days
|
#
3db86c39 |
|
23-May-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSH requests as well as number of activemap updates. Number of BIO_WRITEs and activemap updates are especially interesting, because if those two are too close to each other, it means that your workload needs bigger number of dirty extents. Activemap should be updated as rarely as possible. MFC after: 1 week
|
#
7a2b8368 |
|
26-Apr-2011 |
Mikolaj Golub <trociny@FreeBSD.org> |
Rename HASTCTL_ defines, which are used for conversion between main hastd process and workers, remove unused one and set different range of numbers. This is done in order not to confuse them with HASTCTL_CMD defines, used for conversation between hastctl and hastd, and to avoid bugs like the one fixed in in r221075. Approved by: pjd (mentor) MFC after: 1 week
|
#
1768fba5 |
|
26-Apr-2011 |
Mikolaj Golub <trociny@FreeBSD.org> |
For conversation between hastctl and hastd we should use HASTCTL_CMD defines. Approved by: pjd (mentor) MFC after: 1 week
|
#
ed646d4d |
|
21-Mar-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Remove stale comment. Yes, it is valid to set role back to init. MFC after: 1 week
|
#
0b626a28 |
|
21-Mar-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
In hast.conf we define the other node's address in 'remote' variable. This way we know how to connect to secondary node when we are primary. The same variable is used by the secondary node - it only accepts connections from the address stored in 'remote' variable. In cluster configurations it is common that each node has its individual IP address and there is one addtional shared IP address which is assigned to primary node. It seems it is possible that if the shared IP address is from the same network as the individual IP address it might be choosen by the kernel as a source address for connection with the secondary node. Such connection will be rejected by secondary, as it doesn't come from primary node individual IP. Add 'source' variable that allows to specify source IP address we want to bind to before connecting to the secondary node. MFC after: 1 week
|
#
8cd3d45a |
|
06-Mar-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Allow to compress on-the-wire data using two algorithms: - HOLE - it simply turns all-zero blocks into few bytes header; it is extremely fast, so it is turned on by default; it is mostly intended to speed up initial synchronization where we expect many zeros; - LZF - very fast algorithm by Marc Alexander Lehmann, which shows very decent compression ratio and has BSD license. MFC after: 2 weeks
|
#
1fee97b0 |
|
06-Mar-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Allow to checksum on-the-wire data using either CRC32 or SHA256. MFC after: 2 weeks
|
#
32ecf620 |
|
03-Feb-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Setup another socketpair between parent and child, so that primary sandboxed worker can ask the main privileged process to connect in worker's behalf and then we can migrate descriptor using this socketpair to worker. This is not really needed now, but will be needed once we start to use capsicum for sandboxing. MFC after: 1 week
|
#
19654a23 |
|
27-Jan-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Remember created control connection so on fork(2) we can close it in child. Found with: procstat(1) MFC after: 1 week
|
#
115f4e5c |
|
24-Jan-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Don't open configuration file from worker process. Handle SIGHUP in the master process only and pass changes to the worker processes over control socket. This removes access to global namespace in preparation for capsicum sandboxing. MFC after: 2 weeks
|
#
79e82fe2 |
|
22-Jan-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Add missing logs. MFC after: 1 week
|
#
911a2aa3 |
|
22-Jan-2011 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Use int16 for error. MFC after: 1 week
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
022f07b6 |
|
08-Oct-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
We close the event socketpair early in the mainloop to prevent spaming with error messages, so when we clean up after child process, we have to check if the event socketpair is still there. Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
|
#
0c24d8e2 |
|
22-Sep-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Fix descriptor leaks: when child exits, we have to close control and event socket pairs. We did that only in one case out of three. MFC after: 3 days
|
#
c56cf19e |
|
22-Sep-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
If we are unable to receive control message is most likely because the main process died. Instead of entering infinite loop, terminate. MFC after: 3 days
|
#
351b9a37 |
|
22-Sep-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Sort includes. MFC after: 3 days
|
#
a870e771 |
|
29-Aug-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Call hook on role change. - Document new event. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
|
#
a00829bb |
|
05-Aug-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Make control_set_role() more public. We will need it soon. MFC after: 1 month
|
#
2b98f840 |
|
18-Apr-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
MFC r204076,r204077,r204083,r205279: r204076: Please welcome HAST - Highly Avalable Storage. HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works in Primary-Secondary (Master-Backup, Master-Slave) configuration, which means that only one of the cluster nodes can be active at any given time. Only Primary node is able to handle I/O requests to HAST-managed devices. Currently HAST is limited to two cluster nodes in total. HAST operates on block level - it provides disk-like devices in /dev/hast/ directory for use by file systems and/or applications. Working on block level makes it transparent for file systems and applications. There in no difference between using HAST-provided device and raw disk, partition, etc. All of them are just regular GEOM providers in FreeBSD. For more information please consult hastd(8), hastctl(8) and hast.conf(5) manual pages, as well as http://wiki.FreeBSD.org/HAST. Sponsored by: FreeBSD Foundation Sponsored by: OMCnet Internet Service GmbH Sponsored by: TransIP BV r204077: Remove some lines left over by accident. r204083: Add missing KEYWORD line. Pointed out by: dougb r205279 sys: Simplify loops.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
32115b10 |
|
18-Feb-2010 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Please welcome HAST - Highly Avalable Storage. HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works in Primary-Secondary (Master-Backup, Master-Slave) configuration, which means that only one of the cluster nodes can be active at any given time. Only Primary node is able to handle I/O requests to HAST-managed devices. Currently HAST is limited to two cluster nodes in total. HAST operates on block level - it provides disk-like devices in /dev/hast/ directory for use by file systems and/or applications. Working on block level makes it transparent for file systems and applications. There in no difference between using HAST-provided device and raw disk, partition, etc. All of them are just regular GEOM providers in FreeBSD. For more information please consult hastd(8), hastctl(8) and hast.conf(5) manual pages, as well as http://wiki.FreeBSD.org/HAST. Sponsored by: FreeBSD Foundation Sponsored by: OMCnet Internet Service GmbH Sponsored by: TransIP BV
|