X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Fzfs%2Fvdev_file.c;h=25d0bad3fa4cca4bb973faeb6965e459cb96e7c8;hb=594b4dd82a6ba6b046b894a24986ce727f4d7391;hp=ce49fe08fb7126c134e9802e5965d6c060861985;hpb=3adfc400f5f6c8b24b825cbe91c14b7d58f3c7fc;p=zfs.git diff --git a/module/zfs/vdev_file.c b/module/zfs/vdev_file.c index ce49fe0..25d0bad 100644 --- a/module/zfs/vdev_file.c +++ b/module/zfs/vdev_file.c @@ -72,7 +72,7 @@ vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *ashift) goto skip_open; } - vf = vd->vdev_tsd = kmem_zalloc(sizeof (vdev_file_t), KM_SLEEP); + vf = vd->vdev_tsd = kmem_zalloc(sizeof (vdev_file_t), KM_PUSHPAGE); /* * We always open the files from the root of the global zone, even if