On Fri, Aug 21, 2020 at 01:46:06PM +0100, Matthew Wilcox (Oracle) wrote:
> Size the uptodate array dynamically and add a few debugging assertions.
Needs a rebase to not require i_blocks_per_page, and a somewhat more
details changelog that requires why we change this. Otherwise this
looks good and
On Fri, Aug 21, 2020 at 01:46:06PM +0100, Matthew Wilcox (Oracle) wrote:
> @@ -45,11 +46,13 @@ static struct iomap_page *
> iomap_page_create(struct inode *inode, struct page *page)
> {
> struct iomap_page *iop = to_iomap_page(page);
> + unsigned int nr_blocks = i_blocks_per_page(inode,
Size the uptodate array dynamically and add a few debugging assertions.
Signed-off-by: Matthew Wilcox (Oracle)
---
fs/iomap/buffered-io.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c
index dbf9572dabe9..844e95
3 matches
Mail list logo