devicemapper: add --storage-opt dm.libdm_log_level=X option
devicemapper: add --storage-opt dm.libdm_log_level=X option

Because we use our own logging callbacks in order to use libdm
effectively, it is quite difficult to debug complicated devicemapper
issues (because any warnings or notices from libdm are muted by our own
callback function). e07d3cd9a ("devmapper: Fix libdm logging") further
reduced the ability of this debugging by only allowing _LOG_FATAL errors
to be passed to the output.

Unfortunately libdm is very chatty, so in order to avoid making the logs
even more crowded, add a dm.libdm_log_level storage option that allows
people who are debugging the lovely world of libdm to be able to dive in
without recompiling binaries.

The valid values of dm.libdm_log_level map directly to the libdm logging
levels, and are in the range [2,7] as of the time of writing with 7
being _LOG_DEBUG and 2 being _LOG_FATAL. The default is _LOG_FATAL.

Signed-off-by: Aleksa Sarai <a8eb12d32d6ec07cdf737175ec7d4a0f1b4e1ee7@suse.de>

mahak/docker,justincormack/docker,crosbymichael/docker,mahak/docker,mike1729/docker,raja-sami-10p/moby,cpuguy83/docker,mahak/docker,paralin/docker,liaoqingwei/docker,moby/moby,maxamillion/docker,liaoqingwei/docker,PatrickLang/moby,konstruktoid/docker-1,x1022as/docker,yummypeng/docker,yongtang/docker,maxamillion/docker,bearstech/moby,paralin/docker,rhatdan/docker,Mokolea/docker,mikebrow/docker,sterchelen/docker,scotttlin/docker,fcrisciani/docker,johnstep/moby-moby,moby/moby,mikebrow/docker,dsheets/moby,mixja/docker,flavio/docker,dmcgowan/docker,jimjag/docker,moby/moby,tonistiigi/docker,whuwxl/docker,jwhonce/docker,liaoqingwei/docker,dmcgowan/docker,rremer/moby,kojiromike/docker,flavio/docker,mkumatag/docker,sterchelen/docker,raja-sami-10p/moby,nawawi/docker,johnstep/moby-moby,Ramzec/docker,nalind/docker,charleszheng44/moby,coolljt0725/docker,thaJeztah/docker,maxamillion/docker,KingEmet/docker,moul/docker,amatsus/docker,unclejack/docker,pradipd/moby,whuwxl/docker,hqhq/moby,gnailuy/docker,jthelin/docker,AkihiroSuda/docker,YuPengZTE/docker,estesp/docker,tophj-ibm/docker,moul/docker,crosbymichael/docker,x1022as/docker,jwhonce/docker,hqhq/moby,jlhawn/docker,jameszhan/docker,ibuildthecloud/docker,allencloud/docker,noironetworks/docker,kolyshkin/moby,ibuildthecloud/docker,naveed-jamil-tenpearls/moby,dims/docker,tonistiigi/docker,rancher/docker,bearstech/moby,trebonian/docker,tmp6154/docker,dims/docker,ndeloof/docker,dccurtis/docker,moul/docker,cyphar/docker,gnailuy/docker,nawawi/docker,SvenDowideit/docker,jameszhan/docker,crosbymichael/docker,dsheets/moby,ndeloof/docker,Ramzec/docker,KarthikNayak/docker,kojiromike/docker,nawawi/docker,nawawi/docker,dccurtis/docker,tophj-ibm/docker,konstruktoid/docker-upstream,tophj-ibm/moby,rancher/docker,tmp6154/docker,shishir-a412ed/docker,cyphar/docker,dsheets/moby,mike1729/docker,AkihiroSuda/docker,mahak/docker,trebonian/docker,yosifkit/docker,yosifkit/docker,jvanz/docker,Ramzec/docker,JMesser81/docker,haveatry/docker,ripcurld0/moby,dmcgowan/docker,flavio/docker,laijs/docker,miminar/docker,fcrisciani/docker,kolyshkin/moby,coreos/docker,mixja/docker,mikebrow/docker,laijs/docker,cpuguy83/docker,trebonian/docker,danyalKhaliq10p/moby,hqhq/moby,thaJeztah/docker,laijs/moby,moul/docker,moby/moby,djs55/docker,laijs/docker,charleszheng44/moby,YuPengZTE/docker,SvenDowideit/docker,x1022as/docker,docker/docker,tklauser/docker,yosifkit/docker,shishir-a412ed/docker,yongtang/docker,gnailuy/docker,JMesser81/docker,nalind/docker,tklauser/docker,yongtang/docker,docker/docker,Mokolea/docker,rhatdan/docker,konstruktoid/docker-1,madhanrm/docker,rremer/moby,nalind/docker,laijs/moby,coreos/docker,jwhonce/docker,mixja/docker,ndeloof/docker,allencloud/docker,ibuildthecloud/docker,coolljt0725/docker,AkihiroSuda/docker,estesp/docker,unclejack/docker,pradipd/moby,tophj-ibm/moby,gnailuy/docker,jvanz/docker,tonistiigi/docker,djs55/docker,naveed-jamil-tenpearls/moby,jameszhan/docker,rancher/docker,johnstep/moby-moby,duglin/docker,cpuguy83/docker,allencloud/docker,PatrickLang/moby,bearstech/moby,paralin/docker,amatsus/docker,srust/docker,justincormack/docker,Ramzec/docker,SvenDowideit/docker,tmp6154/docker,POLJM242/docker,Mokolea/docker,YuPengZTE/docker,Mokolea/docker,yummypeng/docker,rhatdan/docker,shishir-a412ed/docker,coreos/docker,amatsus/docker,ibuildthecloud/docker,naveed-jamil-tenpearls/moby,vdemeester/docker,ibuildthecloud/docker,laijs/moby,miminar/docker,KingEmet/docker,konstruktoid/docker-upstream,kojiromike/docker,miminar/docker,pradipd/moby,fcrisciani/docker,pramodhkp/moby,KingEmet/docker,konstruktoid/docker-upstream,whuwxl/docker,jthelin/docker,bearstech/moby,kolyshkin/docker,dccurtis/docker,konstruktoid/docker-1,djs55/docker,thaJeztah/docker,mkumatag/docker,flavio/docker,konstruktoid/docker-upstream,POLJM242/docker,jimjag/docker,madhanrm/docker,justincormack/docker,noironetworks/docker,haveatry/docker,madhanrm/docker,jlhawn/docker,jvanz/docker,haveatry/docker,srust/docker,AkihiroSuda/docker,noironetworks/docker,KarthikNayak/docker,raja-sami-10p/moby,pramodhkp/moby,nalind/docker,duglin/docker,trebonian/docker,charleszheng44/moby,KarthikNayak/docker,danyalKhaliq10p/moby,estesp/docker,docker/docker,dims/docker,srust/docker,tophj-ibm/moby,kolyshkin/moby,jlhawn/docker,jimjag/docker,pramodhkp/moby,coolljt0725/docker,ripcurld0/moby,vdemeester/docker,cyphar/docker,vdemeester/docker,tklauser/docker,yosifkit/docker,mike1729/docker,scotttlin/docker,ripcurld0/moby,yummypeng/docker,kolyshkin/docker,PatrickLang/moby,sterchelen/docker,scotttlin/docker,unclejack/docker,rremer/moby,thaJeztah/docker,tophj-ibm/docker,JMesser81/docker,danyalKhaliq10p/moby,cpuguy83/docker,jimjag/docker,duglin/docker,paralin/docker,mkumatag/docker