Whamcloud - gitweb
LU-5700 llite: handle concurrent use of cob_transient_pages 79/12179/3
authorStephen Champion <schamp@sgi.com>
Fri, 3 Oct 2014 13:08:49 +0000 (06:08 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 10 Oct 2014 12:52:00 +0000 (12:52 +0000)
commitd758bfd1f6ac16bce930033bf14e4bf7b5567972
treef2d8704993d1f067133432b1b9c34f4c7f70d745
parent5b92c60cc78c702f9f5b617d863695558d537cde
LU-5700 llite: handle concurrent use of cob_transient_pages

With the lockless __generic_file_aio_write introduced in LU-1669,
ll_direct_IO_26 is no longer protected by the inode i_isem.

This renders obsoltete checks that all transient pages have been
handled before and after entry, and requires atomic access to their
counter.

Signed-off-by: Stephen Champion <schamp@sgi.com>
Change-Id: Ie1545b2123a5ca7d9a8cac130ff387fc06955629
Reviewed-on: http://review.whamcloud.com/12179
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lclient.h
lustre/llite/lcommon_cl.c
lustre/llite/rw26.c
lustre/llite/vvp_object.c
lustre/llite/vvp_page.c