Whamcloud - gitweb
Optimize write-full-page so that we don't read in a page full of data we
authoradilger <adilger>
Mon, 15 Apr 2002 19:51:09 +0000 (19:51 +0000)
committeradilger <adilger>
Mon, 15 Apr 2002 19:51:09 +0000 (19:51 +0000)
commitf6b72baccee02e6a7aa506b55d6e693f3e3062ff
tree06b727c91e1ef6bf01bc0bd5bbf18228c3cbf51d
parenta19079a1898913001d190fab67391d02f2320ba2
Optimize write-full-page so that we don't read in a page full of data we
are not going to use.  This should speed up the rewrite tests in iozone.

Split the lustre_get_page() into two functions - lustre_get_page_read()
and lustre_get_page_write().  The first one reads in the page, and the
second one just gets the page locked but without any data.
lustre/include/linux/lustre_lib.h
lustre/lib/page.c
lustre/obdfilter/filter.c