X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fosc%2Fosc_cache.c;h=4d97b3e028be984345aa987486338db13b63f49f;hp=1b35afd9f0a97250cbd9756faaa475d870b783fc;hb=27815a0611a2e315a9a7696a20c2f257d48aeb7e;hpb=07ee41661fec73addd3c73bea3d516a99d92d5c8 diff --git a/lustre/osc/osc_cache.c b/lustre/osc/osc_cache.c index 1b35afd..4d97b3e 100644 --- a/lustre/osc/osc_cache.c +++ b/lustre/osc/osc_cache.c @@ -2367,6 +2367,9 @@ int osc_queue_async_io(const struct lu_env *env, struct cl_io *io, RETURN(rc); } + if (osc_over_unstable_soft_limit(cli)) + brw_flags |= OBD_BRW_SOFT_SYNC; + oap->oap_cmd = cmd; oap->oap_page_off = ops->ops_from; oap->oap_count = ops->ops_to - ops->ops_from;