On 8/18/21 11:56 PM, wangyangbo wrote: > Now allocated rsrc table uses PAGE_SIZE as the size of 2nd-level, and > accessing this table relies on each level index from fixed TABLE_SHIFT > (12 - 3) in 4k page case. In order to correctly work in non-4k page, > define TABLE_SHIFT as non-fixed (PAGE_SHIFT - shift of data) for > 2nd-level table entry number. That's a lot better! Thanks, applied for 5.15. -- Jens Axboe