diff --git a/mm/filemap.c b/mm/filemap.c index 39c4c46c6133..ce39c15e8379 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -2682,6 +2682,11 @@ ssize_t filemap_read(struct kiocb *iocb, struct iov_iter *iter, break; if (i > 0) mark_page_accessed(page); + + if (page_size > PAGE_SIZE) + pr_info("i=%d page=%px page_offset=%lld off=%lu bytes=%lu\n", + i, page, page_offset(page), offset, bytes); + /* * If users can be writing to this page using arbitrary * virtual addresses, take care about potential aliasing