> On 23. Apr 2022, at 05:17, Takahiro Kambe <[email protected]> wrote:
> 
> Hi,
> 
> In message <[email protected]>
>       on Fri, 22 Apr 2022 19:39:35 +0200,
>       "J. Hannken-Illjes" <[email protected]> wrote:
>>> #5  0xffffffff80e69314 in VOP_FDISCARD (vp=0xffff879fb253da40,
>>>   pos=<optimized out>, len=<optimized out>)
>>>   at /usr/src/sys/kern/vnode_if.c:845
>>> #6  0xffffffff80e69314 in VOP_FDISCARD (vp=0xffff879fb2e99cc0,
>>>   pos=pos@entry=5843857408, len=len@entry=2048)
>>>   at /usr/src/sys/kern/vnode_if.c:845
>> 
>> This one is different from the previous stack trace, two VOP_FDISCARD().
<snip>
> # cat /etc/fstab
> /dev/dk0        /efi            msdos   rw,noauto               0 0
> /dev/dk4        /               ffs     rw,discard              1 1

Ok, you have wedges that introduce another indirection.

Please try the attached diff (with mount option "discard").

--
J. Hannken-Illjes - [email protected]

Attachment: fdiscard.diff
Description: Binary data

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to