Hi Jaromir,

Indeed. That's bad news but thanks for your answer! I've even found this: 
https://wiki.netbsd.org/projects/project/ffs-fallocate/
Are there any details for this project besides that page? I don't know anything 
about NetBSD internals though if it's not meant for gurus, I'd have a look at 
it and give it a try.

Best regards,
r0ller

-------- Eredeti levél --------
Feladó: Jaromír Doleček < jaromir.dole...@gmail.com (Link -> 
mailto:jaromir.dole...@gmail.com) >
Dátum: 2019 november 3 15:16:34
Tárgy: Re: adding linux syscall fallocate
Címzett: r0ller < r0l...@freemail.hu (Link -> mailto:r0l...@freemail.hu) >
Le dim. 3 nov. 2019 à 08:57, r0ller <r0l...@freemail.hu> a écrit :

> As you can see on the attached screenshot, "line 4741" gets printed out. So I 
> went on to check what happens in VOP_FALLOCATE but it gets really internal 
> there.
>
> Does anyone have any hint?

fallocate VOP is not implemented for FFS:

> grep fallocate *
ffs_vnops.c: { &vop_fallocate_desc, genfs_eopnotsupp }, /* fallocate */
ffs_vnops.c: { &vop_fallocate_desc, spec_fallocate }, /* fallocate */
ffs_vnops.c: { &vop_fallocate_desc, vn_fifo_bypass }, /* fallocate */

Jaromir

Reply via email to