From: Alex Elder Date: Fri, 19 Apr 2013 20:34:50 +0000 (-0500) Subject: rbd: define zero_pages() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9434c5b43d1a90e762fe64169862fb198746935;p=pandora-kernel.git rbd: define zero_pages() Define a new function zero_pages() that zeroes a range of memory defined by a page array, along the lines of zero_bio_chain(). It saves and the irq flags like bvec_kmap_irq() does, though I'm not sure at this point that it's necessary. Update rbd_img_obj_request_read_callback() to use the new function if the object request contains page rather than bio data. For the moment, only bio data is used for osd READ ops. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed