diff options
author | andreas <andreas@FreeBSD.org> | 1998-09-16 20:52:12 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1998-09-16 20:52:12 +0000 |
commit | 26cb0fc41368694469830003a12914f6ca7adbb8 (patch) | |
tree | 267b623a933142bf7af07b2f33d6c09950cf3316 /sbin/dump | |
parent | 9482e27dc3ee1bcf634a0cc38debe38149060b65 (diff) | |
download | FreeBSD-src-26cb0fc41368694469830003a12914f6ca7adbb8.zip FreeBSD-src-26cb0fc41368694469830003a12914f6ca7adbb8.tar.gz |
checked, that new sa CAM driver takes care of using buffer sizes
<= 64 KB. Was able to dump/restore with block sizes of 96, 128 and
200. using systat -vmstat I noticed transfer blocksizes <= 64KB,
so physio's limits aren't touched.
Since this check was originally from me, I feels safe now to back it
out.
Diffstat (limited to 'sbin/dump')
-rw-r--r-- | sbin/dump/main.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c index 0807b58..5cbefc1 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95"; #endif static const char rcsid[] = - "$Id: main.c,v 1.16 1998/06/15 06:58:10 charnier Exp $"; + "$Id: main.c,v 1.17 1998/07/14 09:19:47 jkoshy Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -147,20 +147,6 @@ main(argc, argv) case 'b': /* blocks per tape write */ ntrec = numarg("number of blocks per write", 1L, 1000L); - /* - * XXX - * physio(9) currently slices all requests to - * 64 KB chunks. So now, if somebody entered - * e.g. 96 KB block size here, he would effectively - * yield one 64 KB and one 32 KB block, which - * restore cannot handle. - * Thus we currently enforce pyhsio(9)'s limit - * here, too. - */ - if ( ntrec > 64 ) { - msg("please choose a blocksize <= 64\n"); - exit(X_STARTUP); - } break; case 'c': /* Tape is cart. not 9-track */ |