Re: [PATCH RFC v2 0/2] block: rnull: Fix hole reads and uncached discard coverage
From: Andreas Hindborg
Date: Mon Nov 30 2026 - 07:19:23 EST
"Peder Bergan via B4 Relay" <devnull+peder.bergan.gmail.com@xxxxxxxxxx>
writes:
> This RFC is based on Andreas Hindborg's rnull-v7.4-rc2 feature
> branch at 9c0fceca4feed.
>
> A read that starts in an unwritten backing page can return zeroes
> for data in the next page. Stop the zero fill at the backing-page
> boundary and look up the next page.
>
> A configfs device can retain its backing storage across a logical
> block size change. Track uncached occupancy in 512-byte sectors so
> partial discards preserve data outside the discarded range and free
> each page when its last occupied sector is discarded.
Please rate limit your re-submission to at least 24 hours.
Best regards,
Andreas Hindborg