commit | 1c29b0979a7100a4fd254c006997a08b3bdd72df | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat Jul 12 16:01:45 2003 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Jul 12 16:01:45 2003 -0400 |
tree | 46d2f03e98cbad5a07bbf98f4037cb1107f2b126 | |
parent | 93636bdea9f89ea381098cdb80e2d6d67bbe58a0 [diff] |
badblocks.c (do_read, do_write, test_rw): Change the read/write test to honor the -c option (number of blocks at a time). do_read and do_write will try to turn on the O_DIRECT flag if it appears that it is possible to use it. (Addresses Debian bug #198006)