The NetBSD Project

CVS log for src/tests/dev/raidframe/t_raid.sh

[BACK] Up to [cvs.NetBSD.org] / src / tests / dev / raidframe

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 30 17:49:09 2022 UTC (2 years, 5 months ago) by martin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, 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, HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2 lines
Unfortunately rump does not provide the same magic as MAKEDEV does
for native /dev and create an alias for disk devices w/o partition
latter pointing at the raw partition, so for rump based tests we
actually have to calculate the concrete device name.

Use an idiom suggested by kre for this which also works for ports that
have kern.rawpartition > 4.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Nov 30 05:33:32 2020 UTC (4 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
s/ we we / we /

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:22 2020 UTC (5 years, 1 month ago) by martin
Branches: phil-wifi
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +2 -3 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jul 10 06:10:54 2019 UTC (5 years, 10 months ago) by martin
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, 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, is-mlppp-base, is-mlppp
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -3 lines
Reduce disk image size for tests (PR 44239 has been fixed)

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jan 18 00:32:49 2018 UTC (7 years, 3 months ago) by mrg
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
Branch point for: phil-wifi
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +44 -3 lines
implement 32-bit compat support for raidframe.

convert several raidframe ioctls to be bitsize idempotent so that
they work the same in 32 and 64 bit worlds, allowing netbsd32 to
configure and query raid properly.  remove useless 'row' in a few
places.  add COMPAT_80 and put the old ioctls there.

raidframeio.h:
  RAIDFRAME_TEST_ACC
  - remove, unused
  RAIDFRAME_GET_COMPONENT_LABEL
  - convert to label not pointer to label
  RAIDFRAME_CHECK_RECON_STATUS_EXT
  RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT
  RAIDFRAME_CHECK_COPYBACK_STATUS_EXT
  - convert to progress info not pointer to info
  RAIDFRAME_GET_INFO
  - version entirely.
raidframevar.h:
  - rf_recon_req{} has row, flags and raidPtr removed (they're
    not a useful part of this interface.)
  - RF_Config_s{} and RF_DeviceConfig_s{} have numRow/rows removed.
  - RF_RaidDisk_s{} is re-ordered slightly to fix alignment
    padding - the actual data was already OK.
  - InstallSpareTable() loses row argument

rf_compat32.c has code for RF_Config_s{} in 32 bit mode, used
by RAIDFRAME_CONFIGURE and RAIDFRAME_GET_INFO32.

rf_compat80.c has code for rf_recon_req{}, RF_RaidDisk_s{} and
RF_DeviceConfig_s{} to handle RAIDFRAME_FAIL_DISK,
RAIDFRAME_GET_COMPONENT_LABEL, RAIDFRAME_CHECK_RECON_STATUS_EXT,
RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT,
RAIDFRAME_CHECK_COPYBACK_STATUS_EXT, RAIDFRAME_GET_INFO.

move several of the per-ioctl code blocks into separate functions.

add rf_recon_req_internal{} to replace old usage of global
rf_recon_req{} that had unused void * in the structure, ruining
it's 32/64 bit ABI.

add missing case for RAIDFRAME_GET_INFO50.

adjust raid tests to use the new .conf format, and add a case to
test the old method as well.

raidctl:
deal with lack of 'row' members in a couple of places.
fail request no longer takes row.
handle "START array" sections with just "numCol numSpare", ie
no "numRow" specified.  for now, generate old-style configuration
but update raidctl.8 to specify the new style (keeping reference
to the old style.)

note that: RF_ComponentLabel_s::{row,num_rows} and
RF_SingleComponent_s::row are obsolete but not removed yet.

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:17 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +7 -1 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.11.8.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:20 2013 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +7 -1 lines
resync with head

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Feb 19 21:08:24 2013 UTC (12 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -1 lines
Check for RUMP programs before using them.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Oct 15 11:31:40 2011 UTC (13 years, 7 months ago) by gson
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Fix cut-and-paste-o that casused the raid1_normal test case to have no
cleanup function defined, resulting in a rump_server process hanging
around after the tests completed.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Aug 9 13:48:55 2011 UTC (13 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
Add missing RUMP_SERVER export, so the "normal" test does not fail with
a stupid error.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jul 29 19:57:38 2011 UTC (13 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +102 -4 lines

Note that PR kern/44251 is fixed.
Add tests for normal configuration of RAID 1 and RAID 5 sets.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat May 14 17:42:28 2011 UTC (14 years ago) by jmmv
Branches: MAIN
CVS tags: cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:53 2011 UTC (14 years, 2 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +1 -3 lines
Sync with HEAD

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Mar 1 22:52:54 2011 UTC (14 years, 2 months ago) by riz
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -3 lines
PR#44239 is now fixed, remove the xfail from the test.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:09 2011 UTC (14 years, 3 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -5 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Feb 4 19:44:00 2011 UTC (14 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: bouyer-quota2-base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -5 lines
convert tests from oldstyle dd rif/rof to newstyle dd | rump.dd

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Dec 30 16:58:07 2010 UTC (14 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +9 -8 lines
Substitute a surgical rump_server configuration for rump_allserver
now that it's possible.  With warm fs cache, the startup time of
the former is 0.01s and the latter 0.1s.  With cold caches it's
0.2s vs 2s.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:44:41 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +43 -10 lines
test case for PR kern/44251

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:26:57 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +107 -2 lines
Check that raid1 and raid5 can serve data after a component has
been nuked.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Dec 17 14:51:27 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
fix editing artifact

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Dec 15 20:40:18 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
"A few seconds later" I realized the kernel directory is dev/raidframe,
not dev/raid, so reflect this in the test dir.  Affects location
for test of PR kern/44239.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>