+
+unsigned int ll_account_page_dirtied(struct page *page,
+ struct address_space *mapping)
+{
+ /* must use __set_page_dirty, which means unlocking and
+ * relocking, which hurts performance.
+ */
+ ll_xa_unlock(&mapping->i_pages);
+ __set_page_dirty(page, mapping, 0);
+ ll_xa_lock(&mapping->i_pages);
+ return 0;
+}