On Wed, Nov 26, 2025 at 10:37:10AM +0800, Yongpeng Yang wrote:
>>                              xfs_gbno_to_daddr(xg, busyp->bno),
>>                              XFS_FSB_TO_BB(mp, busyp->length),
>>                              GFP_KERNEL, &bio);
>
> If blk_alloc_discard_bio() fails to allocate a bio inside
> __blkdev_issue_discard(),

It won't, because mempool allocations will not fail if they can
sleep as they can here.



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to