ceph: don't truncate dirty pages in invalidate work thread
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 19 Feb 2010 00:10:11 +0000 (00:10 +0000)
committerSage Weil <sage@newdream.net>
Fri, 19 Feb 2010 22:40:51 +0000 (14:40 -0800)
Instead of truncating the whole range of pages, we skip those
pages that are dirty or in the middle of writeback. Those pages
will be cleared later when the writeback completes.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>

No differences found