Content-Type: multipart/mixed; boundary="===============1054700065434296297==" MIME-Version: 1.0 From: swf504 at 163.com Subject: [SPDK] Change path of file lock in spdk_pci_device_claim Date: Wed, 11 Nov 2020 08:41:14 +0000 Message-ID: <20201111084114.2916.96983@ml01.vlan13.01.org> List-ID: To: spdk@lists.01.org --===============1054700065434296297== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi SPDK team, I notice that the posix lock file locate in '/tmp' directory which no s= afe in running linux system, = user maybe delete files in /tmp directory or remout the tmpfs, and that cau= se the posix lock inactive. This is a serious fatal because the application can't detect the file chang= e, After a new application start and the spdk_pci_device_claim function still return true, that means multi appl= ication maybe probe same controller, = Unexpect behavior or controller init hung maybe happen during controller co= lliding. Is there special reason the need locate in '/tmp', if not, I suggest locate= in '/var/run' directory. Need your comment! Br, Weifeng Su --===============1054700065434296297==--