Transient pages are never added to the LRU, because they
can't be cached. osc_lru_use already skips them because
they don't have the flag set, but make it explicit that
this is not called for transient pages.
Test-Parameters: forjanitoronly
Test-Parameters: fortestonly
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I2c92ccb52380faefbcba3bfa35508dac2b601bd4
if (oio->oi_cap_sys_resource)
oap->oap_brw_flags |= OBD_BRW_SYS_RESOURCE;
- if (page->cp_type != CPT_TRANSIENT)
+ if (page->cp_type != CPT_TRANSIENT) {
osc_page_transfer_get(opg, "transfer\0imm");
- osc_lru_use(osc_cli(obj), opg);
+ osc_lru_use(osc_cli(obj), opg);
+ }
}
/* --------------- LRU page management ------------------ */