Whamcloud - gitweb
b=5981
authorphil <phil>
Sat, 26 Mar 2005 04:13:11 +0000 (04:13 +0000)
committerphil <phil>
Sat, 26 Mar 2005 04:13:11 +0000 (04:13 +0000)
commitf0e8134cea99ab7944f24e212b876c36f4cb7c7b
treec966c9c1c02ae9885de8b11e997c6953a36620c7
parent9126c8d93bbd3d33cbb9bede5180dfeeb5756433
b=5981
r=adilger

SetPageDirty in 2.6 is a hangman's noose made of time bombs, with which to
shoot yourself in the foot.  It doesn't adjust page lists or counters, which
we now believe was almost certainly responsible for the two weeks of
mysterious "negative nr_dirty" hangs at NERSC and NOAA.

As an extra precaution, I also move the clear_page_dirty_for_io compat function
into the 2.4-only part.  If configure happened to ever enable it in 2.6
somehow, it would be a similar disaster (assuming that the compile didn't
fail).
lustre/include/linux/lustre_compat25.h
lustre/llite/rw.c