Re: [PATCH] ceph: fail the open_by_handle_at() if the dentry is being unlinked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/09/2023 05:21, Xiubo Li wrote:

"This will generally not work if the file  has  a  link  count of zero  (files  created  with  O_TMPFILE  and without O_EXCL are an exception)."
In this sentence, "generally" probably means "typically", so it depends on the specific file system's behavior. I don't know the CephFS behavior in this case. However, at least files created with O_TMPFILE are an exception. Does CephFS support creating files with O_TMPFILE? Such files can (and often will) go from the unlinked and open state to the linked and closed state.

--
Sebastian Hasler, M.Sc.
Institute of Information Security - SEC
University of Stuttgart
Universitätsstraße 38
D-70569 Stuttgart
Germany
https://sec.uni-stuttgart.de
Phone: +49 (0) 711 685 88208




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux