summaryrefslogtreecommitdiffstats
path: root/sys/geom/uzip
Commit message (Collapse)AuthorAgeFilesLines
* If provider is open for writing when we taste it, skip it for classes thatpjd2009-10-091-0/+5
| | | | | | | | | | | | | | | | | | | | depend on on-disk metadata. This was we won't attach to providers that are used by other classes. For example we don't want to configure partitions on da0 if it is part of gmirror, what we really want is partitions on mirror/foo. During regular work it works like this: if provider is open for writing a class receives the spoiled event from GEOM and detaches, once provider is closed the taste event is send again and class can rediscover its metadata if it is still there. This doesn't work that way when new class arrives, because GEOM gives all existing providers for it to taste, also those open for writing. Classes have to decided on their own if they want to deal with such providers (eg. geom_dev) or not (classes modified by this commit). Reported by: des, Oliver Lehmann <lehmann@ans-netz.de> Tested by: des, Oliver Lehmann <lehmann@ans-netz.de> Discussed with: phk, marcel Reviewed by: marcel MFC after: 3 days
* If compressed length is zero, return a zero-filled block.simokawa2007-04-241-0/+7
| | | | MFC after: 1 week
* Fix a bug for over 4GB media.simokawa2007-04-071-1/+1
| | | | MFC after: 3 days
* Rename geom_uzip class to g_uzip in order to be consistent with the namingfjoe2006-01-221-2/+2
| | | | | | of other GEOM modules. PR: 89998
* Fix bio leak in case of malloc(9) failure.pjd2006-01-181-0/+1
| | | | | | Found by: Coverity Prevent(tm) Coverity ID: CID794 MFC after: 3 days
* Don't pass error value pointer to g_read_data(9) at all if we don'tsobomax2005-11-301-2/+2
| | | | | | have any use of it. Suggested by: pjd
* Check for g_read_data(9) errors properly:sobomax2005-11-301-2/+2
| | | | | | | | | | o The only indication of error condition is NULL value returned by the function; o value pointed to by error argument is undefined in the case when operation completes successfully. Discussed with: phk
* Normalize a significant number of kernel malloc type names:rwatson2005-10-311-1/+1
| | | | | | | | | | | | | | | | | | | - 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.
* - Fix "end_blk out of range" panic when INVARIANTS.fjoe2005-09-291-2/+5
| | | | | | | - Do not allow rw access. Submitted by: Dario Freni <saturnero at freesbie dot org> MFC after: 3 days
* Use M_ZERO to not panic in mtx_init when INVARIANTS enabled.fjoe2004-11-201-1/+1
| | | | | Submitted by: simokawa MFC after: 1 week
* Use correct malloc type when freeing memory allocated by g_read_data.fjoe2004-09-191-2/+2
| | | | | PR: 71431 Submitted by: daichi
* Do not compile in zlib.c. Add a dependency on module instead.fjoe2004-09-081-1/+2
|
* Add geom_uzip -- geom class that implements read-only compressed disks.fjoe2004-08-131-0/+521
Currently supports cloop V2.0 disk compression format. May support more formats in future.
OpenPOWER on IntegriCloud