diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-10 00:04:34 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-10 00:04:34 +0100 |
commit | abb50be5ea5c374cdb25f05eafdf8afac9b854b1 (patch) | |
tree | 1327cfdc6fadf18a8679051f7b85ed02f2605a00 /kern/mach4.srv | |
parent | e5b90c13cb7d762a52f81c110ca5cc53eb16ac7b (diff) |
Add quiet flag to block I/O
This avoids grub & such making Mach print flurries of floppy errors.
* linux/dev/include/linux/blkdev.h (request): Add `quiet' field.
* linux/dev/include/linux/blk.h (end_request): Print I/O error only if
the `quiet' field of the request is 0.
* linux/dev/include/linux/fs.h (ll_rw_block): Add `quiet' parameter.
* linux/dev/glue/block.c (ll_rw_block): Add `quiet' parameter, copied into
the request.
(bread, rdwr_partial, rdwr_full): Pass 0 to `ll_rw_block''s `quiet' parameter.
* linux/dev/drivers/block/floppy.c (floppy_revalidate): Pass 1 to
`ll_rw_block''s `quiet' parameter.
Diffstat (limited to 'kern/mach4.srv')
0 files changed, 0 insertions, 0 deletions