diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-09-21 18:58:40 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-21 18:59:26 +0300 |
commit | 0a195b91e8991367a94ee199f3af7faa7607e7db (patch) | |
tree | 25e7c055e0621e64a0e09479cd505dd1a6083168 /crypto/lz4hc.c | |
parent | b21866f514cb50bd75614851a8d066398a114cab (diff) | |
download | linux-0a195b91e8991367a94ee199f3af7faa7607e7db.tar.xz |
iomap: Support arbitrarily many blocks per page
Size the uptodate array dynamically to support larger pages in the
page cache. With a 64kB page, we're only saving 8 bytes per page today,
but with a 2MB maximum page size, we'd have to allocate more than 4kB
per page. Add a few debugging assertions.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions