Whamcloud - gitweb
b=22610 a truncate_complete_page fix
authorAndrew Perepechko <Andrew.Perepechko@Sun.COM>
Wed, 19 May 2010 15:39:51 +0000 (19:39 +0400)
committerJohann Lombardi <johann@sun.com>
Wed, 19 May 2010 20:48:47 +0000 (22:48 +0200)
commit395becf6686db179f45fbf54d3acf02b15052909
tree51293bdca46803ec4d065b6073b10ffc1dc07438
parent1d59c9a0ab8c10978225aa445c6f47a46e176e15
b=22610 a truncate_complete_page fix

truncate_complete_page implementation for the patchless
client could arbitrarily unset PG_Uptodate flag for a
page being kicked from the page cache, an uptodate check
right after a readpage call in filemap_fault could fail
because of that as though the page read had been unsuccessful.

i=Oleg Drokin
i=Johann Lombardi
lustre/ChangeLog
lustre/include/linux/lustre_patchless_compat.h