Details
-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
Lustre 2.0.0
-
None
-
3
-
6595
Description
Actually, the ignore quota flag has already been set before the osc page entering the cache, and the caller of osc_io_submit_page() is usually not the original write submiting process, so setting ignore quota flag in osc_io_submit_page() could wrongly overwrite the original flag, I think we can just simply remove the following piece of code in osc_io_submit_page():
if (!client_is_remote(osc_export(cl2osc(opg->ops_cl.cpl_obj))) &&
cfs_capable(CFS_CAP_SYS_RESOURCE))