#
cbd59a4f |
| 08-Sep-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC from head@196987
|
#
af582ea7 |
| 04-Sep-2009 |
Alexander Motin <mav@FreeBSD.org> |
Remove artificial MAX_IO_SIZE constant, equal to DFLTPHYS * 2. Use MAXPHYS instead. It is NULL change for GENERIC kernel, but allows 'fast' mode to work on systems with increased MAXPHYS.
|
Revision tags: 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 |
|
#
2616144e |
| 09-Aug-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Add sbuf_new_auto as a shortcut for the very common case of creating a completely dynamic sbuf.
Obtained from: Varnish MFC after: 2 weeks
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
041b706b |
| 04-Jun-2007 |
David Malone <dwmalone@FreeBSD.org> |
Despite several examples in the kernel, the third argument of sysctl_handle_int is not sizeof the int type you want to export. The type must always be an int or an unsigned int.
Remove the instances
Despite several examples in the kernel, the third argument of sysctl_handle_int is not sizeof the int type you want to export. The type must always be an int or an unsigned int.
Remove the instances where a sizeof(variable) is passed to stop people accidently cut and pasting these examples.
In a few places this was sysctl_handle_int was being used on 64 bit types, which would truncate the value to be exported. In these cases use sysctl_handle_quad to export them and change the format to Q so that sysctl(1) can still print them.
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
f187490a |
| 01-Nov-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Change spaces to tabs where needed.
|
#
42461fba |
| 31-Oct-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Implement BIO_FLUSH handling by simply passing it down to the components.
Sponsored by: home.pl
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
38ea96ac |
| 01-Feb-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Remove trailing spaces.
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
5bb84bc8 |
| 31-Oct-2005 |
Robert Watson <rwatson@FreeBSD.org> |
Normalize a significant number of kernel malloc type names:
- Prefer '_' to ' ', as it results in more easily parsed results in memory monitoring tools such as vmstat.
- Remove punctuation that i
Normalize a significant number of kernel malloc type names:
- Prefer '_' to ' ', as it results in more easily parsed results in memory monitoring tools such as vmstat.
- Remove punctuation that is incompatible with using memory type names as file names, such as '/' characters.
- Disambiguate some collisions by adding subsystem prefixes to some memory types.
- Generally prefer lower case to upper case.
- If the same type is defined in multiple architecture directories, attempt to use the same name in additional cases.
Not all instances were caught in this change, so more work is required to finish this conversion. Similar changes are required for UMA zone names.
show more ...
|
#
a95452ee |
| 20-Aug-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Avoid code duplication and implement bitcount32() function in systm.h only.
Reviewed by: cperciva MFC after: 3 days
|
#
0499edf4 |
| 17-Jul-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Before calling g_orphan_provider(), add G_PF_WITHER flag, so GEOM will know to destroy it.
PR: kern/81758 Submitted by: trasz <trasz@buziaczek.pl> MFC after: 3 days
|
#
0a3384a8 |
| 11-May-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Check return value.
Found by: Coverity Prevent analysis tool
|
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 ...
|
#
07b9f1be |
| 16-Feb-2005 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Fix year in copyrights.
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
53ed4e0d |
| 09-Dec-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Turn off 'fast' mode by default and increase maximum memory to consume when this mode is used. - Manual page update.
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
201dfcf1 |
| 20-Sep-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
This is not needed anymore, it is forced in GEOM now. Actually, it can even cause some problems, because GEOM requires sectorsize to be more than 0 on first access, not on provider creation, so we ca
This is not needed anymore, it is forced in GEOM now. Actually, it can even cause some problems, because GEOM requires sectorsize to be more than 0 on first access, not on provider creation, so we can skip valid providers by doing this check here.
Reported by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Sven Willenberger <sven@dmv.com>
show more ...
|
#
6d7b8aec |
| 30-Aug-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Allow to configure debug level from /boot/loader.conf.
|
#
29c78ab3 |
| 26-Aug-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Skip providers with not defined sector size.
Reported by: kuriyama
|
#
f0c8658d |
| 25-Aug-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Dump disk number.
|
#
a5ef629f |
| 11-Aug-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Increase default kern.geom.stripe.maxmem to 50 elements.
|
#
4ffa3fef |
| 10-Aug-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Fix one of the lastest commit. This bio_caller1 should also be changed to bio_driver1 (as all the rest). This introduced a small memory leak, but it wasn't really critical, because maximum memory for
Fix one of the lastest commit. This bio_caller1 should also be changed to bio_driver1 (as all the rest). This introduced a small memory leak, but it wasn't really critical, because maximum memory for g_stripe_zone is always set, so after few requests gstripe was working in "economic" mode.
show more ...
|
#
6c74f517 |
| 09-Aug-2004 |
Pawel Jakub Dawidek <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 STRIP
- 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.
show more ...
|
#
7e72a708 |
| 09-Aug-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Do not use g_wither_geom(9). I doesn't work in the way which is expected here anymore (after g_wither_washer() was introduced), i.e. geom and consumer will not be immediately destroyed if possible.
|
#
5721c9c7 |
| 08-Aug-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Tag all geom classes in the tree with a version number.
|
#
cea36368 |
| 06-Aug-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Add and document kern.geom.stripe.fast_failed sysctl, which shows how many times "fast" mode failed.
|
#
ec704301 |
| 06-Aug-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Fields bio_caller[12] should be used by the consumer and fields bio_driver[12] should be used by the provider!
|