Theallowedvaluesare:noneExitonanyIOorverifyerrors.readContinueonreaderrors,exitonallothers.writeContinueonwriteerrors,exitonallothers.ioContinueonanyIOerror,exitonallothers.verifyContinueonverifyerrors,exitonallothers.allContinueonallerrors.0Backward-compatiblealiasfor'none'.1Backward-compatiblealiasfor'all'.ignore_error=strSometimesyouwanttoignoresomeerrorsduringtestinthatcaseyoucanspecifyerrorlistforeacherrortype.ignore_error=READ_ERR_LIST,WRITE_ERR_LIST,VERIFY_ERR_LISTerrorsforgivenerrortypeisseparatedwith':'.Errormaybesymbol('ENOSPC','ENOMEM')orinteger.Example:ignore_error=EAGAIN,ENOSPC:122ThisoptionwillignoreEAGAINfromREAD,andENOSPCand122(EDQUOT)fromWRITE.error_dump=boolIfsetdumpeveryerrorevenifitisnonfatal,truebydefault.Ifdisabledonlyfatalerrorwillbedumpedcgroup=strAddjobtothiscontrolgroup.Ifitdoesn't exist, it will be created. The system must have a mounted cgroup blkio mount point for this to work. If your system doesn'thaveitmounted,youcandosowith:#mount-tcgroup-oblkionone/cgroupcgroup_weight=intSettheweightofthecgrouptothisvalue.Seethedocumentationthatcomeswiththekernel,allowedvaluesareintherangeof100..1000.cgroup_nodelete=boolNormallyfiowilldeletethecgroupsithascreatedafterthejobcompletion.Tooverridethisbehaviorandtoleavecgroupsaroundafterthejobcompletion,setcgroup_nodelete=1.Thiscanbeusefulifonewantstoinspectvariouscgroupfilesafterjobcompletion.Default:falseuid=intInsteadofrunningastheinvokinguser,settheuserIDtothisvaluebeforethethread/processdoesanywork.gid=intSetgroupID,seeuid.flow_id=intTheIDoftheflow.Ifnotspecified,itdefaultstobeingaglobalflow.Seeflow.flow=intWeightintoken-basedflowcontrol.Ifthisvalueisused,thenthereisa'flow counter'whichisusedtoregulatetheproportionofactivitybetweentwoormorejobs.fioattemptstokeepthisflowcounternearzero.The'flow'parameterstandsforhowmuchshouldbeaddedorsubtractedtotheflowcounteroneachiterationofthemainI/Oloop.Thatis,ifonejobhasflow=8andanotherjobhasflow=-1,thentherewillbearoughly1:8ratioinhowmuchonerunsvstheother.flow_watermark=intThemaximumvaluethattheabsolutevalueoftheflowcounterisallowedtoreachbeforethejobmustwaitforalowervalueofthecounter.flow_sleep=intTheperiodoftime,inmicroseconds,towaitaftertheflowwatermarkhasbeenexceededbeforeretryingoperationsInaddition,therearesomeparameterswhichareonlyvalidwhenaspecificioengineisinuse.Theseareusedidenticallytonormalparameters,withthecaveatthatwhenusedonthecommandline,theymustcomeaftertheioenginethatdefinesthemisselected.
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。