Revision tags: release/14.0.0 |
|
#
33cb9b3c |
| 02-Nov-2023 |
Mark Johnston <markj@FreeBSD.org> |
graid3: Fix teardown races
Port commit dc399583ba09 from g_mirror, which has an effectively identical startup sequence.
This fixes a race that was occasionally causing panics during GEOM test suite
graid3: Fix teardown races
Port commit dc399583ba09 from g_mirror, which has an effectively identical startup sequence.
This fixes a race that was occasionally causing panics during GEOM test suite runs on riscv.
MFC after: 1 month
show more ...
|
#
95ee2897 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\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
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
show more ...
|
Revision tags: release/13.2.0 |
|
#
fd02d0bc |
| 26-Mar-2023 |
Mark Johnston <markj@FreeBSD.org> |
graid3: Pre-allocate the timeout event structure
As in commit 2f1cfb7f63ca ("gmirror: Pre-allocate the timeout event structure"), graid3 must avoid M_WAITOK allocations in callout handlers.
Reporte
graid3: Pre-allocate the timeout event structure
As in commit 2f1cfb7f63ca ("gmirror: Pre-allocate the timeout event structure"), graid3 must avoid M_WAITOK allocations in callout handlers.
Reported by: graid3 regression tests MFC after 2 weeks
show more ...
|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0 |
|
#
ac03832e |
| 07-Aug-2019 |
Conrad Meyer <cem@FreeBSD.org> |
GEOM: Reduce unnecessary log interleaving with sbufs
Similar to what was done for device_printfs in r347229.
Convert g_print_bio() to a thin shim around g_format_bio(), which acts on an sbuf; docum
GEOM: Reduce unnecessary log interleaving with sbufs
Similar to what was done for device_printfs in r347229.
Convert g_print_bio() to a thin shim around g_format_bio(), which acts on an sbuf; documented in g_bio.9.
Reviewed by: markj Discussed with: rlibby Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D21165
show more ...
|
Revision tags: release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
3728855a |
| 27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys/geom: 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
sys/geom: 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.
show more ...
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0 |
|
#
1a0fda2b |
| 04-Mar-2010 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
IFH@204581
|
#
9199c09a |
| 06-Jan-2010 |
Warner Losh <imp@FreeBSD.org> |
Merge from head at r201628.
# This hasn't been tested, and there are at least three bad commits # that need to be backed out before the branch will be stable again.
|
#
1a7528a7 |
| 29-Dec-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r200821: Make graid3 fallback to malloc() when component request size is bigger then maximal prepared UMA zone size. This fixes crash with MAXPHYS > 128K.
|
#
d4060fa6 |
| 22-Dec-2009 |
Alexander Motin <mav@FreeBSD.org> |
Make graid3 fallback to malloc() when component request size is bigger then maximal prepared UMA zone size. This fixes crash with MAXPHYS > 128K.
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0 |
|
#
501250ba |
| 01-Nov-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Now, that we have gjournal in the tree add possibility to configure gmirror and graid3 in a way that it is not resynchronized after a power failure or system crash. It is safe when gjournal is runnin
Now, that we have gjournal in the tree add possibility to configure gmirror and graid3 in a way that it is not resynchronized after a power failure or system crash. It is safe when gjournal is running on top of gmirror/graid3.
show more ...
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
712fe9bd |
| 10-Apr-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Introduce and use delayed-destruction functionality from a pre-sync hook, which means that devices will be destroyed on last close.
This fixes destruction order problems when, eg. RAID3 array is bui
Introduce and use delayed-destruction functionality from a pre-sync hook, which means that devices will be destroyed on last close.
This fixes destruction order problems when, eg. RAID3 array is build on top of RAID1 arrays.
Requested, reviewed and tested by: ru MFC after: 2 weeks
show more ...
|
#
9bfdf598 |
| 19-Mar-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Update copyright for 2006.
|
#
3650be51 |
| 13-Mar-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Reimplement I/O data allocation to prevent deadlocks.
Submitted by: green
- Speed up synchronization process by using configurable number of I/O requests in parallel. + Add kern.geom.raid3.s
- Reimplement I/O data allocation to prevent deadlocks.
Submitted by: green
- Speed up synchronization process by using configurable number of I/O requests in parallel. + Add kern.geom.raid3.sync_requests tunable which defines how many parallel I/O requests should be used. + Retire kern.geom.raid3.reqs_per_sync and kern.geom.raid3.syncs_per_sec sysctls. - Fix race between regular and synchronization requests. - Reimplement raid3's data synchronization - do not use the topology lock for this purpose, as it may case deadlocks. - Stop synchronization from pre-sync hook. - Fix some other minor issues.
Tested by: Mike Tancsa <mike@sentex.net> MFC after: 3 days
show more ...
|
#
3aae74ec |
| 11-Feb-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Add kern.geom.raid3.disconnect_on_failure sysctl/tunnable (default to 1 to preserve currect behaviour). When set to 0, components are not disconnected - graid3 will try to still use them (only
- Add kern.geom.raid3.disconnect_on_failure sysctl/tunnable (default to 1 to preserve currect behaviour). When set to 0, components are not disconnected - graid3 will try to still use them (only first error will be logged). This is helpful when we have two broken components, but in different places, so actually all data is available. Such buggy component will be visible in 'graid3 list' output with flag BROKEN. - Never disconnect the last valid component. If we detect errors there we will just pass them up. This wasn't reasonable to deny access to the whole provider because of one broken sector.
Prodded by: ru MFC after: 3 days
show more ...
|
#
0962f942 |
| 11-Feb-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Mark array as CLEAN when there are no write requests in kern.geom.raid3.idletime seconds. Write, not any requests. Mark array as clean immediatelly on last write close.
Prodded by: ru MFC after: 3 d
Mark array as CLEAN when there are no write requests in kern.geom.raid3.idletime seconds. Write, not any requests. Mark array as clean immediatelly on last write close.
Prodded by: ru MFC after: 3 days
show more ...
|
#
38ea96ac |
| 01-Feb-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Remove trailing spaces.
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
4ed854e8 |
| 27-Jul-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Use root_mount KPI for RAID3 to delay root file system mount. Actually, one cannot setup root file system on RAID3 device, but when other file system exist in /etc/fstab which are placed on RAID3 dev
Use root_mount KPI for RAID3 to delay root file system mount. Actually, one cannot setup root file system on RAID3 device, but when other file system exist in /etc/fstab which are placed on RAID3 device, boot process will be interrupted when these devices are missing.
MFC after: 3 days X-MFC-note: MFC only to RELENG_6, as RELENG_5 doesn't have root_mount KPI.
show more ...
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
e6890985 |
| 28-Feb-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Add md_provsize field to metadata, which will help with shared-last-sector problem. After this change, even if there is more than one provider with the same last sector, the proper one will b
- Add md_provsize field to metadata, which will help with 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
show more ...
|
#
0218292c |
| 16-Feb-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Update copyright in files changed this year.
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
ea973705 |
| 04-Jan-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Fix 'rebuild' command - it can no longer relay on retaste event (we ignore it). - Remove code used for handling spoil events, as spoiling is not possible anymore, because we keep consumers open
- Fix 'rebuild' command - it can no longer relay on retaste event (we ignore it). - Remove code used for handling spoil events, as spoiling is not possible anymore, because we keep consumers open for writing all the time.
MFC after: 4 days
show more ...
|
#
a245a548 |
| 25-Dec-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Add genid field to the metadata which will allow to improve reliability a bit. After this change, when component is disconnected because of an I/O error, it will not be connected and synchroniz
- Add genid field to the metadata which will allow to improve reliability a bit. After this change, when component is disconnected because of an I/O error, it will not be connected and synchronized automatically, it will be logged as broken and skipped. Autosynchronization can occur, when component is disconnected (on orphan event) and connected again - there were no I/O error, so there is no need to not connected the component, but when there were writes while it wasn't connected, it will be synchronized. This fix cases, when component is disconnected because of I/O error and can be connected again and again. - Bump version number. - Implement backward compatibility mechanism. After this change when metadata in old version is detected, it is automatically upgraded to the new (current) version.
show more ...
|
#
4d006a98 |
| 05-Nov-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Mark all raid3 components as clean after kern.geom.raid3.idletime seconds. - Make kern.geom.raid3.timeout variable tunable.
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
604fce4f |
| 28-Sep-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Just use MAXPHYS as maximum I/O request size, instead of using my own #define for this purpose. No functional change.
|
#
d2fb9c62 |
| 27-Sep-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Avoid race while synchronizing components. It is very hard to bump into, but it is possible: 1. Read data from good component for synchronization. 2. Write data to the same area. 3. Write synchroniza
Avoid race while synchronizing components. It is very hard to bump into, but it is possible: 1. Read data from good component for synchronization. 2. Write data to the same area. 3. Write synchronization data, which are now stale.
Found by: tegge (for gmirror)
show more ...
|