X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;ds=inline;f=module%2Fzfs%2Fvdev_file.c;h=25d0bad3fa4cca4bb973faeb6965e459cb96e7c8;hb=b8d06fca089fae4680c3a552fc55c512bfb02202;hp=ce49fe08fb7126c134e9802e5965d6c060861985;hpb=991fc1d7ae2589c01a939a9cbd0e866c90fdd03b;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