Re: [PATCH V3 6/6] xfs: ignore discard return value
Christoph Hellwig <[email protected]>
| Newsgroups | gmane.linux.file-systems.f2fs,gmane.linux.block,gmane.linux.raid,gmane.linux.kernel,gmane.linux.kernel.bpf |
|---|---|
| Message-ID | <[email protected]> |
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.