ceph: release all pages after successful osd write response
authorSage Weil <sage@newdream.net>
Wed, 3 Feb 2010 00:34:04 +0000 (16:34 -0800)
committerSage Weil <sage@newdream.net>
Wed, 3 Feb 2010 00:34:04 +0000 (16:34 -0800)
commit79788c698b290426320e60374ed1324e4b5c69eb
tree6c96d36c99c043c04c1d4c8686639f67f71232ba
parent0c948992a00d478c17042f4790b7d6b35299cf94
ceph: release all pages after successful osd write response

We release all the pages, even if the osd response was
different than the number of pages written. This could only
happen due to truncation that arrives the osd in
different order, for which we want the pages released anyway.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/addr.c