History log of /netbsd-src/tests/dev/raidframe/t_raid.sh (Results 1 – 16 of 16)
Revision Date Author Comments
# 8693f01d 30-Nov-2022 martin <martin@NetBSD.org>

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

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.

show more ...


# 48b6679a 30-Nov-2020 msaitoh <msaitoh@NetBSD.org>

s/ we we / we /


# 33a5a5b2 10-Jul-2019 martin <martin@NetBSD.org>

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


# f2b04ca0 18-Jan-2018 mrg <mrg@NetBSD.org>

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

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.

show more ...


# 94bcefa4 19-Feb-2013 joerg <joerg@NetBSD.org>

Check for RUMP programs before using them.


# 4b516933 15-Oct-2011 gson <gson@NetBSD.org>

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.


# 2e58500e 09-Aug-2011 martin <martin@NetBSD.org>

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


# bfb5c547 29-Jul-2011 oster <oster@NetBSD.org>

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


# 9b4c1721 14-May-2011 jmmv <jmmv@NetBSD.org>

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


# 736d6f3d 01-Mar-2011 riz <riz@NetBSD.org>

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


# bcbc2496 04-Feb-2011 pooka <pooka@NetBSD.org>

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


# bc1c80f7 30-Dec-2010 pooka <pooka@NetBSD.org>

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.2

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.

show more ...


# 7e8af327 18-Dec-2010 pooka <pooka@NetBSD.org>

test case for PR kern/44251


# eafb3db9 18-Dec-2010 pooka <pooka@NetBSD.org>

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


# 34fb222d 17-Dec-2010 pooka <pooka@NetBSD.org>

fix editing artifact


# a918a746 15-Dec-2010 pooka <pooka@NetBSD.org>

"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.