xfs
[Top] [All Lists]

TAKE - More XFS ioctl interfaces.

To: slinx-xfs@xxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
Subject: TAKE - More XFS ioctl interfaces.
From: Ted Kline <jtk@xxxxxxx>
Date: Thu, 13 Apr 2000 16:07:45 -0500 (CDT)
Sender: owner-linux-xfs@xxxxxxxxxxx
Implement path_to_fshandle(), fd_to_handle(), path_to_handle(),
open_by_handle(), readlink_by_handle(), bulkstat() &
bulkstat_single() as XFS ioctl interfaces.

NOTE! User level commands using the previous ioctl numbers will
      need to be rebuilt, in particular xfs_bmap.

Implement a rudimentary "*by_handle*" user-level library for
use by the cmd/xfs complex.

Port over the xfs_bstat bulkstat test/verification program.


Modid:  2.3.99pre2-xfs:slinx:57940a
Date:  Thu Apr 13 14:02:31 PDT 2000
Workarea:  tiki.americas.sgi.com:/data/clink/io/jtk/work-linux2.3-99

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.3.99pre2-xfs

cmd/xfs/Makefile - 1.7
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/Makefile.diff?r1=text&tr1=1.7&r2=text&tr2=1.6&f=h
        - Add "handle" & "bstat" subdirectories.

cmd/xfs/mkfile/xfs_mkfile.c - 1.3
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/mkfile/xfs_mkfile.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.2&f=h
        - Type changes, use loff_t instead of off64_t to keep
          away from kernel includes.

linux/fs/xfs/linux/xfs_file.c - 1.26
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_file.c.diff?r1=text&tr1=1.26&r2=text&tr2=1.25&f=h
        - Add linvfs_ioctl(), a layer routine that invokes
          VOP_IOCTL.

linux/fs/xfs/linux/xfs_ioctl.c - 1.4
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_ioctl.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.3&f=h
        - Implement path_to_fshandle(), fd_to_handle(), path_to_handle(),
          open_by_handle(), readlink_by_handle(), bulkstat() &
          bulkstat_single() ioctl routines.

linux/fs/xfs/pseudo-inc/sys/vnode.h - 1.19
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/pseudo-inc/sys/vnode.h.diff?r1=text&tr1=1.19&r2=text&tr2=1.18&f=h
        - Add VOP_IOCTL.

linux/fs/xfs/xfs_buf.h - 1.47
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_buf.h.diff?r1=text&tr1=1.47&r2=text&tr2=1.46&f=h
        - Quiet compiler warning about pdflush.

linux/fs/xfs/xfs_icrash.c - 1.15
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_icrash.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.14&f=h
        - Remove xfs_fid2 reference.

linux/fs/xfs/xfs_iget.c - 1.114
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_iget.c.diff?r1=text&tr1=1.114&r2=text&tr2=1.113&f=h
        - Fill in v_nodeid on an xfs_iget.

linux/fs/xfs/xfs_inode.h - 1.133
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_inode.h.diff?r1=text&tr1=1.133&r2=text&tr2=1.132&f=h
        - Move all the "fid" definitions out of here into xfs_fs.h.

linux/fs/xfs/xfs_itable.c - 1.82
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_itable.c.diff?r1=text&tr1=1.82&r2=text&tr2=1.81&f=h
        - Remove "STATIC" from xfs_bulkstat_single() & xfs_bulkstat_one().

linux/fs/xfs/xfs_itable.h - 1.29
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_itable.h.diff?r1=text&tr1=1.29&r2=text&tr2=1.28&f=h
        - Move all of the "bulkstat" interface definitions out
          of here into xfs_fs.h.

linux/fs/xfs/xfs_vnodeops.c - 1.451
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_vnodeops.c.diff?r1=text&tr1=1.451&r2=text&tr2=1.450&f=h
        - Add xfs_ioctl() to the vnodeops vector.

linux/include/linux/xfs_fs.h - 1.4
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/include/linux/xfs_fs.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.3&f=h
        - Completely change all structure interface definitions
          to "unambivalent" typing.
          Move in "fid" and "bulkstat" interface structures.
          Correct some overlapping IOC numbering.

linux/kdb/modules/kdbm_pb.c - 1.13
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/kdb/modules/kdbm_pb.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.12&f=h
        - Expand the 'inode' kdb display.

linux/kdb/modules/kdbm_vm.c - 1.3
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/kdb/modules/kdbm_vm.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.2&f=h
        - Expand the 'filp' kdb display, add a 'dentry' kdb command.

linux/kernel/ksyms.c - 1.39
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/kernel/ksyms.c.diff?r1=text&tr1=1.39&r2=text&tr2=1.38&f=h
        - Export 'file_move' & 'put_unused_fd' for usage
          by the "*by_handle*" routines.

cmd/xfs/bstat/Makefile - 1.1
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/bstat/Makefile.diff?r1=text&tr1=1.1&r2=text&tr2=1.0&f=h
cmd/xfs/bstat/jdm.c - 1.1
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/bstat/jdm.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.0&f=h
cmd/xfs/bstat/jdm.h - 1.1
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/bstat/jdm.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.0&f=h
cmd/xfs/bstat/xfs_bstat.c - 1.1
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/bstat/xfs_bstat.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.0&f=h
        - Port over the "bulkstat" test/verification command.

cmd/xfs/handle/Makefile - 1.1
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/handle/Makefile.diff?r1=text&tr1=1.1&r2=text&tr2=1.0&f=h
cmd/xfs/handle/handle.c - 1.1
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/handle/handle.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.0&f=h
        - Port over/re-work the "*by_handle*" user interface library.


<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - More XFS ioctl interfaces., Ted Kline <=