Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:55352 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935939AbdAFWks (ORCPT ); Fri, 6 Jan 2017 17:40:48 -0500 From: David Howells To: lsf-pc@lists.linux-foundation.org cc: dhowells@redhat.com, linux-fsdevel@vger.kernel.org Subject: [LSF/MM TOPIC] Network filesystem cache management system call MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12323.1483742446.1@warthog.procyon.org.uk> Date: Fri, 06 Jan 2017 22:40:46 +0000 Message-ID: <12324.1483742446@warthog.procyon.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: AFS filesystem implementations like OpenAFS have a number of management calls usually implemented through the pioctl() and afs() system calls. However, there is general revulsion to the idea of allowing these in Linux as they are very much abused. Now, I need to come up with replacements for these. For some I can use getxattr()/setxattr(), for some keyrings and for others procfs/sysfs, but for some I can't. One of these is the call to manage local caching on a file or volume. This, however, doesn't really need to be limited to AFS, but could also be applicable to NFS, CIFS, etc. - and possibly even to local filesystems. A brainstorming session on this would be useful. David