writeback: Add tracing to write_cache_pages
[linux-2.6.git] / mm / page-writeback.c
index d556cd8..3d2111a 100644 (file)
@@ -933,6 +933,7 @@ continue_unlock:
                        if (!clear_page_dirty_for_io(page))
                                goto continue_unlock;
 
+                       trace_wbc_writepage(wbc, mapping->backing_dev_info);
                        ret = (*writepage)(page, wbc, data);
                        if (unlikely(ret)) {
                                if (ret == AOP_WRITEPAGE_ACTIVATE) {