10d53fcce8d03533ba3ded8380337cc79b974fad |
|
07-Aug-2019 |
cem <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; documented in g_bio.9. Reviewed by: markj Discussed with: rlibby Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D21165
|
f8a3770ab6517397834a9b5b82d209917c134481 |
|
27-Oct-2018 |
eugen <eugen@FreeBSD.org> |
Extend stripeoffset and stripesize of GEOMs from u_int to off_t GEOM's stripeoffset overflows at 4 gigabyte margin (2^32) because of its u_int type. This leads to incorrect data in the output generated by "sysctl kern.geom.confxml" command, "graid list" etc. when GEOM array has volumes larger than 4G, for example. This change does not affect ABI but changes KBI. No MFC planned. Differential Revision: https://reviews.freebsd.org/D13426
|
a82e3a8b2430553d1a48209e110921023d727e45 |
|
27-Nov-2017 |
pfg <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 - 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.
|
00d578928eca75be320b36d37543a7e2a4f9fbdb |
|
27-May-2016 |
grehan <grehan@FreeBSD.org> |
Create branch for bhyve graphics import.
|
eb1a5f8de9f7ea602c373a710f531abbf81141c4 |
|
21-Feb-2014 |
gjb <gjb@FreeBSD.org> |
Move ^/user/gjb/hacking/release-embedded up one directory, and remove ^/user/gjb/hacking since this is likely to be merged to head/ soon. Sponsored by: The FreeBSD Foundation
|
0a34594b9cd7c8b87f719ed058da6be2b756a8e5 |
|
07-Jan-2014 |
scottl <scottl@FreeBSD.org> |
MFC Alexander Motin's GEOM direct dispatch work: r256603: Introduce new function devstat_end_transaction_bio_bt(), adding new argument to specify present time. Use this function to move binuptime() out of lock, substantially reducing lock congestion when slow timecounter is used. r256606: Move g_io_deliver() out of the lock, as required for direct dispatch. Move g_destroy_bio() out too to reduce lock scope even more. r256607: Fix passing uninitialized bio_resid argument to g_trace(). r256610: Add unmapped I/O support to GEOM RAID. r256830: Restore BIO_UNMAPPED and BIO_TRANSIENT_MAPPING in biodonne() when unmapping temporary mapped buffer. That fixes double unmap if biodone() called twice for the same BIO (but with different done methods). r256880: Merge GEOM direct dispatch changes from the projects/camlock branch. When safety requirements are met, it allows to avoid passing I/O requests to GEOM g_up/g_down thread, executing them directly in the caller context. That allows to avoid CPU bottlenecks in g_up/g_down threads, plus avoid several context switches per I/O. r259247: Fix bug introduced at r256607. We have to recalculate bp_resid here since sizes of original and completed requests may differ due to end of media. Testing of the stable/10 merge was done by Netflix, but all of the credit goes to Alexander and iX Systems. Submitted by: mav Sponsored by: iX Systems
|
6b01bbf146ab195243a8e7d43bb11f8835c76af8 |
|
27-Dec-2013 |
gjb <gjb@FreeBSD.org> |
Copy head@r259933 -> user/gjb/hacking/release-embedded for initial inclusion of (at least) arm builds with the release. Sponsored by: The FreeBSD Foundation
|
4219fc00741f40993b2047c0524fe87ad9bce077 |
|
22-Oct-2013 |
mav <mav@FreeBSD.org> |
Merge GEOM direct dispatch changes from the projects/camlock branch. When safety requirements are met, it allows to avoid passing I/O requests to GEOM g_up/g_down thread, executing them directly in the caller context. That allows to avoid CPU bottlenecks in g_up/g_down threads, plus avoid several context switches per I/O. The defined now safety requirements are: - caller should not hold any locks and should be reenterable; - callee should not depend on GEOM dual-threaded concurency semantics; - on the way down, if request is unmapped while callee doesn't support it, the context should be sleepable; - kernel thread stack usage should be below 50%. To keep compatibility with GEOM classes not meeting above requirements new provider and consumer flags added: - G_CF_DIRECT_SEND -- consumer code meets caller requirements (request); - G_CF_DIRECT_RECEIVE -- consumer code meets callee requirements (done); - G_PF_DIRECT_SEND -- provider code meets caller requirements (done); - G_PF_DIRECT_RECEIVE -- provider code meets callee requirements (request). Capable GEOM class can set them, allowing direct dispatch in cases where it is safe. If any of requirements are not met, request is queued to g_up or g_down thread same as before. Such GEOM classes were reviewed and updated to support direct dispatch: CONCAT, DEV, DISK, GATE, MD, MIRROR, MULTIPATH, NOP, PART, RAID, STRIPE, VFS, ZERO, ZFS::VDEV, ZFS::ZVOL, all classes based on g_slice KPI (LABEL, MAP, FLASHMAP, etc). To declare direct completion capability disk(9) KPI got new flag equivalent to G_PF_DIRECT_SEND -- DISKFLAG_DIRECT_COMPLETION. da(4) and ada(4) disk drivers got it set now thanks to earlier CAM locking work. This change more then twice increases peak block storage performance on systems with manu CPUs, together with earlier CAM locking changes reaching more then 1 million IOPS (512 byte raw reads from 16 SATA SSDs on 4 HBAs to 256 user-level threads). Sponsored by: iXsystems, Inc. MFC after: 2 months
|
09f9c897d33c41618ada06fbbcf1a9b3812dee53 |
|
19-Oct-2010 |
jamie <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
f1216d1f0ade038907195fc114b7e630623b402c |
|
19-Mar-2010 |
delphij <delphij@FreeBSD.org> |
Create a custom branch where I will be able to do the merge.
|
19b6af98ec71398e77874582eb84ec5310c7156f |
|
22-Nov-2008 |
dfr <dfr@FreeBSD.org> |
Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64 performance in Xen's HVM mode.
|
cf5320822f93810742e3d4a1ac8202db8482e633 |
|
19-Oct-2008 |
lulf <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
ac5e0fe84c507fcef7208791800297924858d3c3 |
|
05-Apr-2006 |
pjd <pjd@FreeBSD.org> |
Sync with HEAD. Approved by: re (scottl)
|
6f074b6d64c73a3076d8f1b86873b81770b1016c |
|
01-Feb-2006 |
pjd <pjd@FreeBSD.org> |
Remove trailing spaces.
|
ba6b9383b3060f5c920accfb99df276630249b9f |
|
30-Aug-2005 |
pjd <pjd@FreeBSD.org> |
MFC: sys/sys/systm.h 1.235 sys/i386/i386/mp_machdep.c 1.253 sys/amd64/amd64/mp_machdep.c 1.262 sys/geom/stripe/g_stripe.c 1.27 sys/geom/stripe/g_stripe.h 1.8 Avoid code duplication and implement bitcount32() function in systm.h only. Approved by: re (scottl)
|
863deb3c00d07683cfba7aca2e35643099e42dd7 |
|
19-Aug-2005 |
pjd <pjd@FreeBSD.org> |
Avoid code duplication and implement bitcount32() function in systm.h only. Reviewed by: cperciva MFC after: 3 days
|
668a0286708d7bde5d5f9e9076fa8ffe8ec62f34 |
|
27-Feb-2005 |
pjd <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 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
|
1e033a07a4122bc1561a3efbbc2431369880faa6 |
|
16-Feb-2005 |
pjd <pjd@FreeBSD.org> |
Fix year in copyrights.
|
a98f2557009185f782b7d19053597e414ef9fb3a |
|
09-Aug-2004 |
pjd <pjd@FreeBSD.org> |
- Introduce option for hardcoding providers' names into metadata. 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.
|
3a2f13d5f5f45530d066bd48f5c672989bc023c1 |
|
26-Jul-2004 |
pjd <pjd@FreeBSD.org> |
Change naming scheme from /dev/<name>.stripe to /dev/stripe/<name>.
|
663921669569e0293fdbf9e48f017becabdf499a |
|
18-Jul-2004 |
pjd <pjd@FreeBSD.org> |
Fix copy&paste bug.
|
782281411585b11c71b5fc34d535c71848a7efd9 |
|
05-Jul-2004 |
pjd <pjd@FreeBSD.org> |
- Add 'stop' command, which works just like 'destroy' command, but sounds less dangerous. - Update manual pages and extend examples. - Bump versions.
|
86dae1fb275d2d6fd01885a290f0578af994ef8a |
|
20-May-2004 |
pjd <pjd@FreeBSD.org> |
Introduce STRIPE GEOM class. It implements RAID0 transformation and it is intend to be fast. Just like CONCAT class it provides manual and auto configuration methods. Supported by: Wheel - Open Technologies - http://www.wheel.pl
|