Revision b6aa5901c7a2bd90d0b6b9866300d2648b2568f3 authored by Henry C Chang on 16 December 2010, 04:45:41 UTC, committed by Sage Weil on 17 December 2010, 17:54:40 UTC
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 <henry_c_chang@tcloudcomputing.com> Signed-off-by: Sage Weil <sage@newdream.net>
1 parent 92cf765