The NetBSD Project

CVS log for src/tests/dev/raidframe/

[BACK] Up to [] / src / tests / dev / raidframe

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 30 17:49:09 2022 UTC (15 months ago) by martin
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Mon Nov 30 05:33:32 2020 UTC (3 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

s/ we we / we /

Revision / (download) - annotate - [select for diffs], Mon Apr 13 08:05:22 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 10 06:10:54 2019 UTC (4 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, 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
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored)

Reduce disk image size for tests (PR 44239 has been fixed)

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jan 18 00:32:49 2018 UTC (6 years, 1 month ago) by mrg
Branch: 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
Changes since 1.12: +44 -3 lines
Diff to previous 1.12 (colored)

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.

  - remove, unused
  - convert to label not pointer to label
  - convert to progress info not pointer to info
  - version entirely.
  - 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

rf_compat80.c has code for rf_recon_req{}, RF_RaidDisk_s{} and
RF_DeviceConfig_s{} to handle RAIDFRAME_FAIL_DISK,

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.

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 / (download) - annotate - [select for diffs], Thu May 22 11:42:17 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.11: +7 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

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 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:20 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.11: +7 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

resync with head

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 19 21:08:24 2013 UTC (11 years ago) by joerg
Branch: 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-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
Changes since 1.11: +7 -1 lines
Diff to previous 1.11 (colored)

Check for RUMP programs before using them.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Oct 15 11:31:40 2011 UTC (12 years, 4 months ago) by gson
Branch: 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
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

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) - annotate - [select for diffs], Tue Aug 9 13:48:55 2011 UTC (12 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Add missing RUMP_SERVER export, so the "normal" test does not fail with
a stupid error.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jul 29 19:57:38 2011 UTC (12 years, 7 months ago) by oster
Branch: MAIN
Changes since 1.8: +102 -4 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 14 17:42:28 2011 UTC (12 years, 9 months ago) by jmmv
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.

Revision / (download) - annotate - [select for diffs], Sat Mar 5 15:10:53 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since +1 -3 lines
Diff to previous (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 1 22:52:54 2011 UTC (13 years ago) by riz
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.6: +1 -3 lines
Diff to previous 1.6 (colored)

PR#44239 is now fixed, remove the xfail from the test.

Revision / (download) - annotate - [select for diffs], Tue Feb 8 16:20:09 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.5: +9 -5 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 4 19:44:00 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.5: +9 -5 lines
Diff to previous 1.5 (colored)

convert tests from oldstyle dd rif/rof to newstyle dd | rump.dd

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 30 16:58:07 2010 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.4: +9 -8 lines
Diff to previous 1.4 (colored)

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) - annotate - [select for diffs], Sat Dec 18 09:44:41 2010 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.3: +43 -10 lines
Diff to previous 1.3 (colored)

test case for PR kern/44251

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 18 09:26:57 2010 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.2: +107 -2 lines
Diff to previous 1.2 (colored)

Check that raid1 and raid5 can serve data after a component has
been nuked.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 17 14:51:27 2010 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

fix editing artifact

Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 15 20:40:18 2010 UTC (13 years, 2 months ago) by pooka
Branch: 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.

This form allows you to request diff's 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.

CVSweb <>