Whamcloud - gitweb
b=22309 get and validate lock before issuing readahead
authorhongchao.zhang <Hongchao.Zhang@Sun.COM>
Sun, 13 Jun 2010 05:42:11 +0000 (13:42 +0800)
committerJohann Lombardi <johann@sun.com>
Mon, 21 Jun 2010 10:25:30 +0000 (12:25 +0200)
commitbbd603ba1c168372880cbe423486ce7cc29407a9
tree6d3a5165d3e536e720c1ee2d2a3779fd809c736f
parent9cdb554c9906124f74a8e3ccf941728f7a660b3f
b=22309 get and validate lock before issuing readahead

in ll_read_ahead_page, get and check the validation of the ldlm lock
to protect the readahead before issuing the actual read request

i=johann@sun.com
i=yong.fan@sun.com
lustre/llite/rw.c