Whamcloud - gitweb
LU-11775 osc: reduce atomic ops in osc_enter_cache_try 59/33859/3
authorLi Dongyang <dongyangli@ddn.com>
Fri, 14 Dec 2018 01:22:29 +0000 (12:22 +1100)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Feb 2019 02:01:51 +0000 (02:01 +0000)
commit8b364fbd6bd9e0088440e6d6837861a641b923a0
treead2a2d22abf85902b35cabed419350725846bf93
parentb71766311daa0faf3560a2435778f7b2de1e3ad6
LU-11775 osc: reduce atomic ops in osc_enter_cache_try

We can reduce the number of atomic ops performed on
obd_dirty_pages for the common case.

Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Change-Id: I5526e449d483241d825af18b612ae1d1dff3241e
Reviewed-on: https://review.whamcloud.com/33859
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osc/osc_cache.c