From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.thunk.org ([74.207.234.97]:53078 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389980AbeHASPZ (ORCPT ); Wed, 1 Aug 2018 14:15:25 -0400 Date: Wed, 1 Aug 2018 12:28:49 -0400 From: "Theodore Y. Ts'o" To: David Howells Cc: viro@zeniv.linux.org.uk, linux-api@vger.kernel.org, torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] vfs: syscall: Add fsinfo() to query filesystem information Message-ID: <20180801162849.GA9187@thunk.org> References: <153314002975.18964.1773855756473041897.stgit@warthog.procyon.org.uk> <153314004147.18964.11925284995448007945.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <153314004147.18964.11925284995448007945.stgit@warthog.procyon.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Aug 01, 2018 at 05:14:01PM +0100, David Howells wrote: > > Some attributes (such as the servers backing a network filesystem) can have > multiple values. These can be enumerated by setting params->Nth and > params->Mth to 0, 1, ... until ENODATA is returned. How does the caller know whether or not a particular attribute has multiple values? Is that a fundamental attribute of a particular attribute? (e.g., the documentation for each attribute must state whether or not that attribute returns multiple attributes or not) - Ted