aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/md
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2013-08-30 20:12:23 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2013-08-30 20:12:23 +0000
commit1a42d14a80482de31e79be33adbffba67fecac3b (patch)
tree9db21cb765eb0b956c6a42198ad7544694625c46 /sys/dev/md
parent1099068118c491df50fbe051eb296bf6aca540c7 (diff)
Notes
Diffstat (limited to 'sys/dev/md')
-rw-r--r--sys/dev/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index cad97659a752..f0d1aec0d917 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -826,7 +826,7 @@ mdstart_swap(struct md_s *sc, struct bio *bp)
vm_object_pip_add(sc->object, 1);
for (i = bp->bio_offset / PAGE_SIZE; i <= lastp; i++) {
len = ((i == lastp) ? lastend : PAGE_SIZE) - offs;
- m = vm_page_grab(sc->object, i, VM_ALLOC_NORMAL);
+ m = vm_page_grab(sc->object, i, VM_ALLOC_SYSTEM);
if (bp->bio_cmd == BIO_READ) {
if (m->valid == VM_PAGE_BITS_ALL)
rv = VM_PAGER_OK;