From: Henry C Chang Date: Thu, 16 Dec 2010 04:45:41 +0000 (-0800) Subject: ceph: mark user pages dirty on direct-io reads X-Git-Tag: v2.6.37-rc7~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6aa5901c7a2bd90d0b6b9866300d2648b2568f3;p=pandora-kernel.git ceph: mark user pages dirty on direct-io reads For read operation, we have to set the argument _write_ of get_user_pages to 1 since we will write data to pages. Also, we need to SetPageDirty before releasing these pages. Signed-off-by: Henry C Chang Signed-off-by: Sage Weil --- Reading git-diff-tree failed