diff options
author | Sergio Lopez <sergio.lopez@sinrega.org> | 2010-08-27 00:24:01 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-08-27 00:24:01 +0200 |
commit | 7d0fdfd0a3e5165020e11892079154ef1e1d691f (patch) | |
tree | 457fda92a6a209bf0c103a915928c809d097d5d6 /hurd/paths.h | |
parent | a60414ee7fdabb2bdfb17fe82b9a09f811bd2de0 (diff) |
make unblocked reads from external objects return a zeroed page.
* serverboot/default_pager.c (struct dstruct): Add boolean_t external field.
(default_pager_add): Set ds->external to TRUE or FALSE depending whether the
object is external.
(default_read): Add external parameter. If no_block(block) returns 1, if
external is TRUE, zero fill the page and return PAGER_SUCCESS instead of
PAGER_ABSENT.
(seqnos_memory_object_data_request): Pass ds->external as additional
parameter to default_read.
Diffstat (limited to 'hurd/paths.h')
0 files changed, 0 insertions, 0 deletions