Whamcloud - gitweb
b=21406 fix deadlock between kjournald2 and ost_io thread
authorJohann Lombardi <johann@sun.com>
Fri, 22 Jan 2010 21:03:26 +0000 (22:03 +0100)
committerJohann Lombardi <johann@sun.com>
Fri, 22 Jan 2010 21:03:26 +0000 (22:03 +0100)
commitd83c8868974785fd1bd378153424baecf29a915b
treeb67826aea54d8839eada671435f368efe2b9edd8
parenta88acda1f1676d1224be86a076bb7e574dbda75d
b=21406 fix deadlock between kjournald2 and ost_io thread

i=adilger
i=girish

Calling clear_page_dirty_for_io() is no longer needed since
we are granted that no dirty pages can be left in the page
cache by partial truncate. The problem is that
clear_page_dirty_for_io() can temporarilly mark the page
as dirty in the radix tree, which can cause deadlock
between jbd commit and bulk write handling.
lustre/ChangeLog
lustre/obdfilter/filter_io_26.c