CVS log for src/sys/dev/dm/dm_target_stripe.c
Up to [cvs.NetBSD.org] / src / sys / dev / dm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.44.30.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:56:37 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +3 -3
lines
Sync with HEAD
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Sep 8 09:36:50 2024 UTC (2 years, 2 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
HEAD
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
fix a/an grammar in obvious cases
Revision 1.23.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:19 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.23.4.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.4.1: +2 -3
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:03 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +77 -70
lines
Merge changes from current as of 20200406
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:45 2020 UTC (6 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +5 -3
lines
Sync with head.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Jan 21 16:27:53 2020 UTC (6 years, 9 months ago) by tkusumi
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2
Branch point for: perseant-exfatfs
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -3
lines
dm: #if0 target's ->upcall() handler
This is part of NetBSD's dm design, but unimplemented
(all handlers return 0) and also unused.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Dec 21 16:00:29 2019 UTC (6 years, 10 months ago) by tkusumi
Branches: MAIN
CVS tags: ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +42 -2
lines
dm: Fix dm-stripe's "status" output format
As mentioned in "dm: Don't try to implement "status" as subset of "table"",
dm-stripe in NetBSD doesn't have correct "status" output format.
Implement ->info() to sync with Linux kernel.
Note that num_error for stripe device isn't implemented yet.
taken-from: DragonFlyBSD
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Dec 21 11:59:03 2019 UTC (6 years, 10 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -23
lines
dm: Remove target's ->deps() by implementing deps in dm core
Retrieving device dependencies doesn't need to be target specific.
The reason it currently needs ->deps() is because dm core doesn't
have data structure that allows table to walk through target's
underlying devices. Add struct dm_mapping to be able to do this,
and remove ->deps()'s from targets which basically do the same thing.
=====(A) before this commit
table
| [dm core]
-------------------------------------------------------
| pdev pdev pdev [dm targets]
v ^ ^ ^
target----/---------/---------/
(void*)
=====(B) this commit
table---->mapping-->mapping-->mapping-->...
| | | |
| v v v [dm core]
-------------------------------------------------------
| pdev pdev pdev [dm targets]
v ^ ^ ^
target----/---------/---------/
(void*)
taken-from: DragonFlyBSD
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Dec 20 16:16:36 2019 UTC (6 years, 10 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3
lines
dm: Fix "table" output format of dm-linear and dm-stripe
The existing "table" output showing device file path of pdev is
not compatible with dm in Linux kernel (and also DragonFlyBSD).
It should be showing "major:minor" instead.
taken-from: DragonFlyBSD
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Dec 18 14:31:35 2019 UTC (6 years, 10 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -6
lines
dm: Test # of args in target's ->init()
The # of args is part of target's spec.
Both Linux kernel and DragonFlyBSD test argc on ctr/init.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Dec 15 16:14:27 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -5
lines
dm: Rename dm specific atoi() to atoi64()
This is uint64_t version, not sys/lib/libsa/atoi.c.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Dec 15 14:39:42 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -4
lines
dm: Style cleanups (no functional changes)
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Dec 15 09:22:28 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -4
lines
dm: "unsigned" -> "unsigned int" for consistency
Use either one, but not both.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Dec 15 05:56:02 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -5
lines
dm: Rename targets' ->status() to ->table() given ->info() exists
Since now that dm targets in NetBSD have ->info() for "status",
->status() should be renamed to ->table() for "table",
given how dm target status was originally designed in Linux kernel.
taken-from: DragonFlyBSD
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Dec 14 10:02:35 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -5
lines
dm: Remove unconditional debug prints in targets' ->strategy()
Having debug prints in ->strategy() by default just to tell ->strategy()
is called is overkill.
taken-from: DragonFlyBSD
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Dec 12 16:28:24 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -20
lines
dm: Make target's ->init() take parsed argc and argv
This gets rid of the same parser code in each target using strsep(3).
taken-from: DragonFlyBSD
Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Dec 9 15:30:42 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -5
lines
dm: Correct target name "stripe" -> "striped"
Sync with Linux kernel.
The file name is "stripe", but the target name is "striped".
DragonFlyBSD also follows this.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Dec 8 10:50:21 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +10 -2
lines
dm: Move targets specific structs to .c files
These don't need to be defined and exposed in dm.h.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Dec 8 04:41:02 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4
lines
dm: Refactor target's ->init() i/f
Take dm_table_entry_t* instead of void**.
Remove dm_dev_t* unneeded by target code.
No functional change, but for future changes.
taken-from: DragonFlyBSD
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Dec 7 15:28:39 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +9 -9
lines
dm: Fix strange pointer declarations
Should be "type *name" or "type* name", but not "type * name".
taken-from: DragonFlyBSD
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Dec 6 16:33:47 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4
lines
dm: Fix typos in comments/messages
taken-from: DragonFlyBSD
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Dec 6 16:11:59 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -3
lines
dm: Don't ignore dm_target_alloc() argument
dm_target_alloc() is supposed to be copying the name argument to its ->name.
taken-from: DragonFlyBSD
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Dec 5 16:59:43 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -3
lines
dm: Make dm core set config to NULL after destroy
Just let dm core do this instead of having a comment expecting each
target to do the right thing.
taken-from: DragonFlyBSD
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Dec 3 15:47:38 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3
lines
dm: Include <sys/vnode.h> in dm.h
dm.h already depends on vnode, so have dm.h include <sys/vnode.h>
instead of other .c files.
taken-from: DragonFlyBSD
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Dec 1 06:53:31 2019 UTC (6 years, 11 months ago) by tkusumi
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -4
lines
dm: Remove unused dm_dev::dev_type
Given OOP-like architecture of dm target device structure,
dm_dev doesn't need to have self contained target type field,
and in fact this is unused.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Oct 15 00:13:53 2019 UTC (7 years, 1 month ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -5
lines
convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Jan 5 14:22:26 2018 UTC (8 years, 10 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20190609,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +11 -2
lines
use some size_t, add whitespace between functions, rcsids.
Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:00 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.1: +24 -22
lines
update from HEAD
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:02 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +3 -8
lines
Sync with HEAD
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:09 2017 UTC (9 years, 5 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -8
lines
remove checks for failure after memory allocation calls that cannot fail:
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.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 29 10:20:16 2014 UTC (12 years, 2 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +26 -19
lines
Pull up following revision(s) (requested by christos in ticket #55):
sys/dev/dm/dm_target_stripe.c: revision 1.20-1.21
Avoid a memory leak - from maxv.
Cleanup properly on error.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:36 2014 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -11
lines
Rebase to HEAD as of a few days ago.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Aug 19 14:43:28 2014 UTC (12 years, 3 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: nick-nhusb
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +20 -18
lines
cleanup properly on error.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Aug 18 17:16:42 2014 UTC (12 years, 3 months ago) by agc
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +8 -3
lines
Avoid a memory leak - from maxv
Revision 1.18.12.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:51 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +3 -11
lines
Rebase.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jun 14 07:39:00 2014 UTC (12 years, 5 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -11
lines
Change dk_lookup() to return an anonymous vnode not associated with
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
Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:55 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +2 -2
lines
sync with head
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 07:53:30 2012 UTC (14 years, 3 months ago) by martin
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -2
lines
Pull up following revision(s) (requested by haad in ticket #467):
sys/dev/dm/dm_target_stripe.c: revision 1.18
Fix problem reported by jym on current-user@ patch was provided by mhitch@.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Aug 7 16:11:11 2012 UTC (14 years, 3 months ago) by haad
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
tls-earlyentropy
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Fix problem reported by jym on current-user@ patch was provided by mhitch@.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:30 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
sync with head
Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:11 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -2
lines
merge to -current.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jan 4 16:05:53 2012 UTC (14 years, 10 months ago) by haad
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10
Branch point for: netbsd-6
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
Fix wrong KASSERT, reported by mhitch@.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Oct 14 09:23:30 2011 UTC (15 years, 1 month ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -2
lines
Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock. Make all calls outside of file systems respect it.
The calls from file systems need review.
No objections from tech-kern.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Aug 27 17:09:09 2011 UTC (15 years, 2 months ago) by ahoka
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -4
lines
be consistent and define secsize here as well (though this seems unused?)
some white' from emacs
Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:58 2011 UTC (15 years, 4 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +2 -2
lines
Catchup with rmind-uvmplock merge.
Revision 1.9.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:14 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.9.4.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.2: +1 -1
lines
sync with head
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:47 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +2 -2
lines
Sync with HEAD.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 2 17:49:40 2011 UTC (15 years, 5 months ago) by haad
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
Fix simple typo which made stripe target not working very at all. Issue
found by mhitch@.
Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:07 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.4.1: +96 -41
lines
sync with head
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Dec 23 14:58:14 2010 UTC (15 years, 10 months ago) by mlelstv
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base,
cherry-xenmp-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr,
cherry-xenmp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +28 -1
lines
make dm aware of physical sector sizes.
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@
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 15 05:54:38 2010 UTC (16 years ago) by uebayasi
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1
lines
curlwp needs sys/lwp.h.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:29 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +68 -41
lines
Sync with HEAD.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Oct 23 21:18:54 2010 UTC (16 years ago) by haad
Branches: MAIN
CVS tags: uebayasi-xip-base4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +68 -41
lines
Add old file describing locking schema used in dm driver.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:07 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +24 -2
lines
Sync with HEAD.
Revision 1.5.2.6: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:21 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.2.5: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.5: +24 -2
lines
sync with head.
Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:20 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +24 -2
lines
sync with head
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 18 15:10:41 2010 UTC (16 years, 6 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base3,
uebayasi-xip-base2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +24 -2
lines
Add multi device strip support written by Guillermo Amaral and reviewed by me.
Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:26 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.2.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.4: +65 -81
lines
sync with head
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jan 4 00:14:41 2010 UTC (16 years, 10 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base1,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +39 -46
lines
Indent files remove unnecessary blank lines, white spaces and KNFize code.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Dec 1 23:12:10 2009 UTC (16 years, 11 months ago) by haad
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +31 -40
lines
Revert my commit which have added knowledge about dm targets to libdevmapper,
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@
Revision 1.5.2.4: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:46 2009 UTC (17 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.2.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.3: +3 -5
lines
sync with head
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Sep 9 22:38:49 2009 UTC (17 years, 2 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
jym-xensuspend-nbase
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -5
lines
Fix bug in kmem_alloc/kmem_free of params string. Params string was
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@.
Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:46 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +41 -30
lines
Sync with HEAD.
Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:21 2009 UTC (17 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.2: +41 -30
lines
sync with head
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jun 5 19:56:40 2009 UTC (17 years, 5 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +41 -30
lines
Parse dm param string in libdevmapper and not in a dm target init function.
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.
Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:16 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +156 -15
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:37 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +301 -0
lines
sync with head.
Revision 1.2.4.4: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:21 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.2.4.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.3: +52 -7
lines
Sync with HEAD.
Revision 1.5.2.1
Mon Apr 6 22:48:26 2009 UTC (17 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.5: +0 -301
lines
file dm_target_stripe.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:37 +0000
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Apr 6 22:48:26 2009 UTC (17 years, 7 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2
lines
Fix build on amd64. Patch sent by dieter roelants.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Mar 7 22:17:18 2009 UTC (17 years, 8 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +50 -6
lines
Actually lmplement striping as LVM target. OK'd by Adam.
Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:44 2009 UTC (17 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.2: +108 -12
lines
Sync with HEAD.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Mar 1 23:15:56 2009 UTC (17 years, 8 months ago) by haad
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +108 -12
lines
Add initial support for striping target, hardcode maximal number of stripes
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.
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:53 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +160 -0
lines
Sync with HEAD.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:53 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +160 -0
lines
Sync with HEAD.
Revision 1.2.4.1
Fri Jan 2 22:33:51 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
FILE REMOVED
Changes since revision 1.2: +0 -160
lines
file dm_target_stripe.c was added on branch nick-hppapmap on 2009-01-19 13:17:53 +0000
Revision 1.2.2.1
Fri Jan 2 22:33:51 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
FILE REMOVED
Changes since revision 1.2: +0 -160
lines
file dm_target_stripe.c was added on branch mjf-devfs2 on 2009-01-17 13:28:53 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 2 22:33:51 2009 UTC (17 years, 10 months ago) by haad
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: nick-hppapmap,
mjf-devfs2,
jym-xensuspend
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Return ENOSYS during from dm_target_init routine these tow targets aren't
implemented yet.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jan 2 00:42:31 2009 UTC (17 years, 10 months ago) by haad
Branches: MAIN
Add stripe target functions stubs. Stripe target must be present in dm driver
because without it lvm2tools will not create LVsi and eventualy panic system.
Problem reported by agc@.
CVSweb <webmaster@jp.NetBSD.org>