From 98594c4a8cb8defa32e01fa868305065e102b55d Mon Sep 17 00:00:00 2001 From: gord-fig Date: Wed, 17 Oct 2001 00:02:40 +0000 Subject: [PATCH] Mark potentially obsolete functions. --- lustre/obdclass/obdcontrol | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lustre/obdclass/obdcontrol b/lustre/obdclass/obdcontrol index 7cb9048..b3e7d97 100755 --- a/lustre/obdclass/obdcontrol +++ b/lustre/obdclass/obdcontrol @@ -29,6 +29,7 @@ eval 'sub OBD_IOC_DESTROY () { &_IOC(1, ord(\'f\'), 6, 4);}' unless defined(&OBD_IOC_DESTROY); eval 'sub OBD_IOC_PREALLOCATE () { &_IOC(3, ord(\'f\'), 7, 4);}' unless defined(&OBD_IOC_PREALLOCATE); +# FIXME: obsolete? eval 'sub OBD_IOC_DEC_USE_COUNT () { &_IOC(0, ord(\'f\'), 8, 0);}' unless defined(&OBD_IOC_DEC_USE_COUNT); eval 'sub OBD_IOC_SETATTR () { &_IOC(1, ord(\'f\'), 9, 4);}' unless @@ -47,10 +48,13 @@ eval 'sub OBD_IOC_STATFS () { &_IOC(3, ord(\'f\'), 15, 4);}' unless defined(&OBD_IOC_STATFS); eval 'sub OBD_IOC_SYNC () { &_IOC(2, ord(\'f\'), 16, 4);}' unless defined(&OBD_IOC_SYNC); +# FIXME: obsolete? eval 'sub OBD_IOC_READ2 () { &_IOC(3, ord(\'f\'), 17, 4);}' unless defined(&OBD_IOC_READ2); +# FIXME: obsolete? eval 'sub OBD_IOC_FORMATOBD () { &_IOC(3, ord(\'f\'), 18, 4);}' unless defined(&OBD_IOC_FORMATOBD); +# FIXME: obsolete? eval 'sub OBD_IOC_PARTITION () { &_IOC(3, ord(\'f\'), 19, 4);}' unless defined(&OBD_IOC_PARTITION); eval 'sub OBD_IOC_ATTACH () { &_IOC(3, ord(\'f\'), 20, 4);}' unless @@ -232,7 +236,9 @@ my %commands = 'snaptable' => {func => "SnapShotTable", doc => "snaptable: build a snapshot table (interactive)"}, 'copy' => {func => "Copy", doc => "copy : copy objects"}, 'migrate' => {func => "Migrate", doc => "migrate : migrate data from one object to another"}, +# FIXME: obsolete? 'partition' => {func => "Partition", doc => "partition : create a partition"}, +# FIXME: obsolete? 'format' => {func => "Format", doc => "format : format a partition"}, 'setup' => {func => "Setup", doc => "setup [type]: link this OBD device to the underlying device (default type obdext2)"}, 'connect' => {func => "Connect", doc => "connect: allocates client ID for this session"}, @@ -240,8 +246,10 @@ my %commands = 'sync' => {func => "Sync", doc => "sync: flushes buffers to disk"}, 'destroy' => {func => "Destroy", doc => "destroy : destroys an object"}, 'cleanup' => {func => "Cleanup", doc => "cleanup the minor obd device"}, +# FIXME: obsolete? 'dec_use_count' => {func => "Decusecount", doc => "decreases the module use count so that the module can be removed following an oops"}, 'read' => {func => "Read", doc => "read [offset]: read data from object"}, +# FIXME: obsolete? 'fsread' => {func => "Read2", doc => "read [offset]: read data from object"}, 'write' => {func => "Write", doc => "write : write data to object"}, 'punch' => {func => "Punch", doc => "punch : punch a hole in object"}, -- 1.8.3.1