generator' content='cgit '/>
summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target_stripe.c
AgeCommit message (Collapse)Author
2017-06-01remove checks for failure after memory allocation calls that cannot fail:chs
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create() all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
2014-08-19cleanup properly on error.christos
2014-08-18Avoid a memory leak - from maxvagc
2014-06-14Change dk_lookup() to return an anonymous vnode not associated withhannken
any file system. Change all consumers of dk_lookup() to get the device from "v_rdev" instead of VOP_GETATTR() as specfs does not support VOP_GETATTR(). Devices obtained with dk_lookup() will no longer disappear on forced unmounts. Fix for PR kern/48849 (root mirror raid fails on shutdown) Welcome to 6.99.44
2012-08-07Fix problem reported by jym on current-user@ patch was provided by mhitch@.haad
2012-01-04Fix wrong KASSERT, reported by mhitch@.haad
2011-10-14Change the vnode locking protocol of VOP_GETATTR() to request at leasthannken
a shared lock. Make all calls outside of file systems respect it. The calls from file systems need review. No objections from tech-kern.
2011-08-27be consistent and define secsize here as well (though this seems unused?)ahoka
some white' from emacs
2011-06-02Fix simple typo which made stripe target not working very at all. Issuehaad
found by mhitch@.
2010-12-23make dm aware of physical sector sizes.mlelstv
For aggregates of multiple disks we use the largest sector size from all disks. For standard power-of-2 sizes this is the same as the least common multiple. We still require proper alignment of the targets in the mapping table. ok by haad@
2010-11-15curlwp needs sys/lwp.h.uebayasi
2010-10-23Add old file describing locking schema used in dm driver.haad
2010-05-18Add multi device strip support written by Guillermo Amaral and reviewed by me.haad
2010-01-04Indent files remove unnecessary blank lines, white spaces and KNFize code.haad
2009-12-01Revert my commit which have added knowledge about dm targets to libdevmapper,haad
this breaks abstraction. Because only lvmtools/lvmlib and device-mapper can have knowledge about target mapping and libdevmapper only passes requests from lvmtools to kernel and back. Bump major library and driver version. Requested by: yamt@
2009-09-09Fix bug in kmem_alloc/kmem_free of params string. Params string washaad
allocated with length DM_MAX_PARAMS_SIZE and released with strlen + 1 size. Disable KM_NOSLEEP allocation because we do not need them here there is nothing critical in ioctl part of dm driver. Bug reported by jak@.
2009-06-05Parse dm param string in libdevmapper and not in a dm target init function.haad
Create proplib param dictionary entry in libdevmapper and pass it to dm in dm_ioctl dict. Param target is then passed to target init function, where is parse. I like this aproach much better than passing char **argv and trusting to user input. I have bumped minor lib/driver version. XXX. Add more sanity checks in kernel.
2009-04-06Fix build on amd64. Patch sent by dieter roelants.haad
2009-03-07Actually lmplement striping as LVM target. OK'd by Adam.reinoud
2009-03-01Add initial support for striping target, hardcode maximal number of stripeshaad
to 2 for now. strategy routine must be written, for now only parsing and support routines are available. This is work in progress code and should be taken very carefully.
2009-01-02Return ENOSYS during from dm_target_init routine these tow targets aren'thaad
implemented yet.
2009-01-02Add stripe target functions stubs. Stripe target must be present in dm driverhaad
because without it lvm2tools will not create LVsi and eventualy panic system. Problem reported by agc@.