mm, fs: remove remaining PAGE_CACHE_* and page_cache_{get,release} usage
Mostly direct substitution with occasional adjustment or removing outdated comments. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
09cbfeaf1a
commit
ea1754a084
@@ -714,7 +714,7 @@ compare_mid(__u16 mid, const struct smb_hdr *smb)
|
||||
*
|
||||
* Note that this might make for "interesting" allocation problems during
|
||||
* writeback however as we have to allocate an array of pointers for the
|
||||
* pages. A 16M write means ~32kb page array with PAGE_CACHE_SIZE == 4096.
|
||||
* pages. A 16M write means ~32kb page array with PAGE_SIZE == 4096.
|
||||
*
|
||||
* For reads, there is a similar problem as we need to allocate an array
|
||||
* of kvecs to handle the receive, though that should only need to be done
|
||||
@@ -733,7 +733,7 @@ compare_mid(__u16 mid, const struct smb_hdr *smb)
|
||||
|
||||
/*
|
||||
* The default wsize is 1M. find_get_pages seems to return a maximum of 256
|
||||
* pages in a single call. With PAGE_CACHE_SIZE == 4k, this means we can fill
|
||||
* pages in a single call. With PAGE_SIZE == 4k, this means we can fill
|
||||
* a single wsize request with a single call.
|
||||
*/
|
||||
#define CIFS_DEFAULT_IOSIZE (1024 * 1024)
|
||||
|
Reference in New Issue
Block a user