Question about DFS


段世博
 
Edited

While a file is opened by one client, can other clients delete the file? If it cannot be deleted, how is this guaranteed?

Thanks~


Johann
 

Hi,

 

The DFS layer does not track openers, so the other client will be able to proceed and delete the file. The original opener will thus suddenly see an empty file.

Please note that if the two processes run on the same client node and use the same dfuse mountpoint, then open-unlink files will work.

 

Cheers,

Johann

 

From: <daos@daos.groups.io> on behalf of 段世博 <duanshibo.d@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Monday 2 August 2021 at 07:02
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [daos] Question about DFS

 

[Edited Message Follows]

While a file is opened by one client, can other clients delete the file? If it cannot be deleted, how is this guaranteed?

Thanks~

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.