Re: [fuse-devel] [PATCH 0/5] fuse: close file synchronously (v2)

From: Maxim Patlasov
Date: Mon Jun 09 2014 - 03:50:25 EST


On 06/06/2014 05:51 PM, John Muir wrote:
On 2014.06.06, at 15:27 , Maxim Patlasov <mpatlasov@xxxxxxxxxxxxx> wrote:

The patch-set resolves the problem by making fuse_release synchronous:
wait for ACK from userspace for FUSE_RELEASE if the feature is ON.
Why not make this feature per-file with a new flag bit in struct fuse_file_info rather than as a file-system global?

I don't expect a great demand for such a granularity. File-system global "close_wait" conveys a general user expectation about filesystem behaviour in distributed environment: if you stopped using a file on given node, whether it means that the file is immediately accessible from another node.

Maxim


John.

--
John Muir - john@xxxxxxxxx
+32 491 64 22 76




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/