David van Moolenbroek
6c46a77d95
libminixfs: better support for read errors and EOF
...
- The lmfs_get_block*(3) API calls may now return an error. The idea
is to encourage a next generation of file system services to do a
better job at dealing with block read errors than the MFS-derived
implementations do. These existing file systems have been changed
to panic immediately upon getting a block read error, in order to
let unchecked errors cause corruption. Note that libbdev already
retries failing I/O operations a few times first.
- The libminixfs block device I/O module (bio.c) now deals properly
with end-of-file conditions on block devices. Since a device or
partition size may not be a multiple of the root file system's block
size, support for partial block retrival has been added, with a new
internal lmfs_get_partial_block(3) call. A new test program,
test85, tests the new handling of EOF conditions when reading,
writing, and memory-mapping a block device.
Change-Id: I05e35b6b8851488328a2679da635ebba0c6d08ce
2015-08-14 18:39:26 +00:00
..
2014-12-03 23:40:56 +01:00
2014-08-28 18:49:19 +02:00
2014-08-28 18:49:19 +02:00
2014-07-31 16:00:31 +02:00
2014-08-28 18:49:19 +02:00
2014-08-28 18:49:19 +02:00
2014-08-13 16:42:57 +02:00
2015-07-08 09:46:56 +02:00
2015-07-08 09:46:56 +02:00
2015-07-22 22:24:22 +02:00
2015-07-22 22:24:22 +02:00
2014-07-31 16:00:30 +02:00
2015-08-14 18:39:26 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2015-08-14 18:39:26 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2015-07-28 14:18:03 +00:00
2015-07-28 14:18:03 +00:00
2015-07-28 14:18:03 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2015-07-20 13:55:10 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-09-29 16:16:32 +00:00
2014-09-29 16:16:32 +00:00
2014-07-31 16:00:30 +02:00
2014-09-29 16:16:32 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-09-29 16:16:32 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-09-29 16:16:32 +00:00
2014-07-31 16:00:30 +02:00
2015-07-08 09:32:17 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-09-29 16:16:32 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2015-07-08 09:46:56 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-08-24 09:22:35 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2015-06-05 18:40:57 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2015-08-14 18:39:26 +00:00
2014-09-18 12:46:25 +00:00
2015-08-13 13:46:48 +00:00
2014-07-31 16:00:30 +02:00
2015-06-23 17:43:46 +00:00
2015-06-23 17:43:46 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2015-07-28 14:18:35 +00:00
2015-07-28 14:18:35 +00:00
2015-07-22 22:24:22 +02:00
2015-07-28 14:18:35 +00:00
2015-07-28 14:18:03 +00:00
2015-08-14 18:39:26 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-09-18 13:01:13 +00:00
2014-07-31 16:00:30 +02:00
2014-07-31 16:00:30 +02:00
2014-12-10 23:11:25 +01:00
2014-09-08 19:51:28 +02:00
2014-07-31 16:00:30 +02:00
2014-11-15 11:19:52 +00:00
2015-08-13 13:46:46 +00:00
2014-07-31 16:00:30 +02:00
2014-08-29 12:56:04 -04:00
2014-07-31 16:00:30 +02:00