[PATCH 3.2 006/152] writeback: fix a subtle race condition in I_DIRTY clearing

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 9c6ac78eb3521c5937b2dd8a7d1b300f41092f45 upstream. After invoking ->dirty_inode(), __mark_inode_dirty() does smp_mb() and tests inode->i_state locklessly to see whether it

[PATCH 3.2 006/152] writeback: fix a subtle race condition in I_DIRTY clearing

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Tejun Heo t...@kernel.org commit 9c6ac78eb3521c5937b2dd8a7d1b300f41092f45 upstream. After invoking -dirty_inode(), __mark_inode_dirty() does smp_mb() and tests inode-i_state locklessly to see