which ioctls matter across filesystems

From: Steve French (smfrench_at_austin.rr.com)
Date: 04/29/05

  • Next message: Grant Grundler: "Re: [openib-general] Re: RDMA memory registration"
    Date:	Fri, 29 Apr 2005 14:22:12 -0500
    To: linux-kernel@vger.kernel.org
    
    

    Other than the obvious example of
        EXT2_IOC_GETFLAGS
    and
        EXT2_IOC_SETFLAGS
    which are implemented by multiple filesystems (and are necessary to
    support a few commonly used tools), are there any other ioctls which
    should be able to be sent remotely (optionally)? For it to be worth
    extending the network protocol (in my case CIFS to servers such as
    Samba, but presumably cluster filesystems have similar interests in
    supporting all key local tools across the network), an ioctl would have
    to be
        - used by more than one local filesystem
        - not have an equivalent way to do the same thing without an ioctl

    I have added the GET/SETFLAGS client support, but am not aware of any
    others which would need to be remoted. For fcntl there are more, but
    it requires more research to figure out how to handle setlease/getlease
    and a few others with network implications without degrading
    performance. Although I am not a fan of ioctls and fcntls, there are a
    few that are necessary to achieve 100% local semantics across the network.

    The new inotify mechanism being prototyped in -mm currently is the other
    one which needs work to determine how to map it across the network.
    Since it was added for support of Samba, the corresponding client part
    (for cifs) may turn out to map to the network protocol quite well
    already, and given NFSv4 having various similarities to CIFS, it would
    be interesting if the semantics of inotify would map to NFSv4 write
    protocol.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Grant Grundler: "Re: [openib-general] Re: RDMA memory registration"

    Relevant Pages

    • oops in current -git
      ... FC5 boot proceeds normally, mounting local filesystems etc., until it reaches the step where it determines the network address for eth0. ... # ACPI Support ... # Device Drivers ...
      (Linux-Kernel)
    • Re: 2.6.23-rc2-mm1: hang, prop_norm_single involved
      ... # Device Drivers ... # SCSI support type ... # S/390 network device drivers ... # CD-ROM/DVD Filesystems ...
      (Linux-Kernel)
    • UML hang with 100% CPU
      ... # Loadable module support ... # UML Network Devices ... # CD-ROM/DVD Filesystems ...
      (Linux-Kernel)
    • 2.6.14.git: user-mode-linux/x86_64 does not build
      ... .config is attached later. ... # Loadable module support ... # UML Network Devices ... # CD-ROM/DVD Filesystems ...
      (Linux-Kernel)
    • Re: Ho ho ho.. Linux 2.6.15-rc7
      ... Somebody broke UML compile for my config again... ... # Loadable module support ... # UML Network Devices ... # CD-ROM/DVD Filesystems ...
      (Linux-Kernel)