From timh@spidey.central.sun.com Tue Dec  4 10:16:25 2007
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id lB4IGP9C004153
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 4 Dec 2007 10:16:25 -0800 (PST)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id lB4IGMl7008667
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Tue, 4 Dec 2007 10:16:25 -0800 (PST)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JSJ0060BERB7K00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Tue, 04 Dec 2007 10:16:23 -0800 (PST)
Received: from spidey.central.sun.com ([172.20.25.27])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JSJ00I11ER2HQE0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Tue,
 04 Dec 2007 10:16:14 -0800 (PST)
Received: from spidey.central.sun.com (localhost [127.0.0.1])
	by spidey.central.sun.com (8.14.2+Sun/8.14.2) with ESMTP id lB4IGD1D010452;
 Tue, 04 Dec 2007 11:16:13 -0700 (MST)
Received: (from timh@localhost)	by spidey.central.sun.com
 (8.14.2+Sun/8.14.2/Submit) id lB4IGD8V010448; Tue,
 04 Dec 2007 11:16:13 -0700 (MST)
Date: Tue, 04 Dec 2007 11:16:13 -0700 (MST)
From: Tim Haley - Sun Microsystem <timh@spidey.central.sun.com>
Subject: A_MDEV changed to uint32_t [PSARC/2007/675 Self Review]
To: PSARC-ext@sun.com
Message-id: <200712041816.lB4IGD8V010448@spidey.central.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
Status: RO
Content-Length: 2533

I'm sponsoring this case on behalf of Rich Morris.  This case changes
the type of the A_MDEV file system attribute from an unsigned 16 bit
value to an unsigned 32 bit value. This is a correction.  The previous
type did not match the type of the attribute's source.  That source is
the st_dev field retrievable with stat(2).

This case seeks Minor binding, which is the same as the binding for
PSARC 2007/315 "Extensible Attribute Interfaces" which first
introduced the attribute.

Since there are no current consumers of the A_MDEV attribute, I feel
this case qualifies for self review.  If anyone disagrees, let me know
and I'll promote it to a fast track.

Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
This information is Copyright 2007 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 A_MDEV changed to uint32_t
    1.2. Name of Document Author/Supplier:
	 Author:  Rich Morris
    1.3  Date of This Document:
	04 December, 2007
4. Technical Description

PSARC 2007/315 (Extensible Attribute Interfaces) was approved on 13
June, 2007, and introduced a set of optional system-level file
attributes.  The A_MDEV attribute was one of the system attributes.
This attribute represents the mounted file system device which is an
unsigned 32 bit value returned by the stat(2) system call in st_dev.

This value was included in the SUNWattr_ro extended attribute file for
completeness.  However, the value of A_MDEV returned by fgetattr(3c)
is incorrect and does not match the value of st_dev returned by stat(2).
Changing the type of A_MDEV from from uint16_t to uint32_t will fix
this problem.  With this change, fgetattr(3c) will return the same
value for A_MDEC as stat(2) returns in st_dev.

The changes originally approved by PSARC 2007/315 (Extensible Attribute
Interfaces) were putback into Solaris Nevada on 25 October 2007.

Changes to PSARC 2007/315 spec.final.txt:

	 Supported views and the attributes and data types for each view:

 	 View                  Attribute               Data type
 	 XATTR_VIEW_READONLY   A_FSID                  uint64_t
  	                       A_MDEV                  uint16_t

has been changed to:

	  View                 Attribute               Data type
	  XATTR_VIEW_READONLY  A_FSID                  uint64_t
  	                       A_MDEV                  uint32_t

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: Automatic
    6.6. ARC Exposure: open

From tim.haley@sun.com Mon Dec 10 14:12:38 2007
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id lBAMCbDt007352
	for <psarc-ext@sac.sfbay.sun.com>; Mon, 10 Dec 2007 14:12:38 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id lBAMCYnD011464
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Mon, 10 Dec 2007 22:12:36 GMT
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JSU00B0XTOYOH00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Mon, 10 Dec 2007 14:12:34 -0800 (PST)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JSU003U6TOXZ7C0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Mon,
 10 Dec 2007 14:12:33 -0800 (PST)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id lBAMCW4h014038	for
 <PSARC-ext@sun.com>; Mon, 10 Dec 2007 22:12:33 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JSU00201SWIMA00@mail-amer.sun.com> (original mail from tim.haley@sun.com)
 for PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Mon,
 10 Dec 2007 15:12:32 -0700 (MST)
Received: from xander.local ([10.7.250.201])
 by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28
 2007)) with ESMTPSA id <0JSU00CZDTOKJO60@mail-amer.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Mon,
 10 Dec 2007 15:12:20 -0700 (MST)
Date: Mon, 10 Dec 2007 15:12:46 -0700
From: Timothy Haley <tim.haley@sun.com>
Subject: A_MDEV Removal [PSARC/2007/675 FastTrack timeout 12/17/2007]
Sender: Timothy.Haley@sun.com
To: PSARC-ext@sun.com
Message-id: <475DB9DE.5070808@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
Status: RO
Content-Length: 3119

I'm re-submitting the specification for PSARC/2007/675.  I think it 
probably would still qualify for self-review, but will go ahead and 
start it as a normal fast-track, to allow for any further comment.

I am sponsoring this case on behalf of Rich Morris.  This case removes
the A_MDEV file system attribute from the set of attributes returned
from fgetattr(3c).  The mounted file system device that this attribute
is returning is available from stat(2) in st_dev.

This case seeks Minor binding, which is the same as the binding for
PSARC 2007/315 "Extensible Attribute Interfaces" which first
introduced the attribute.

Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
This information is Copyright 2007 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
         A_MDEV removal
    1.2. Name of Document Author/Supplier:
         Author:  Rich Morris
    1.3  Date of This Document:
         6 December, 2007
4. Technical Description

PSARC 2007/315 (Extensible Attribute Interfaces) was approved on
13 June, 2007, and introduced a set of optional system-level file
attributes.  The A_MDEV attribute is one of the system attributes.
This attribute represents the mounted file system device which is
also returned by the stat(2) system call in st_dev.

This value was included in the SUNWattr_ro extended attribute file
for completeness.  However, the mount device is a 32 bit value on
a 32 bit system and a 64 bit value on 64 bit system.  fgetattr(3c)
could be extended to provide both A_MDEV32 and A_MDEV64 attrs in
the returned nvlist.  However, this would require support for 32
bit applications to convert a 32 bit dev_t to and from a 64 bit
dev_t.  Also, for an NFS remote file, fgetattr(3c) will not return
the mount device of the NFS mount, but of the file system on the
server.  That is not the same value returned by stat(2) in st_dev.

Therefore, A_MDEV will be removed from SUNWattr_ro and will not be
returned by fgetattr(3c).  Applications should continue to obtain
the mount device using stat(2).

The changes originally approved by PSARC 2007/315 (Extensible Attribute
Interfaces) were putback into Solaris Nevada on 25 October 2007.

Section 4.1.1 of PSARC 2007/315 shows 2 attributes in XATTR_VIEW_READONLY:

          View                  Attribute               Data type
          XATTR_VIEW_READONLY   A_FSID                  uint64_t
                                A_MDEV                  uint16_t

A_AV_SCANSTAMP was added to XATTR_VIEW_READONLY by PSARC/2007/118 and
A_OPAQUE was added to this view by PSARC/2007/476.  This case removes
A_MDEV so XATTR_VIEW_READONLY now has 3 attributes:

         View                  Attribute               Data type
         XATTR_VIEW_READONLY   A_FSID                  uint64_t
                               A_AV_SCANSTAMP          uint8_array[]
                               A_OPAQUE                boolean_value


6. Resources and Schedule
    6.4. Steering Committee requested information
        6.4.1. Consolidation C-team Name:
                ON
    6.5. ARC review type: Automatic
    6.6. ARC Exposure: open


From Timothy.Haley@sun.com Wed Dec 12 10:21:54 2007
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id lBCILs59009711
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 12 Dec 2007 10:21:54 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id lBCILpac062221;
	Wed, 12 Dec 2007 11:21:54 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0JSY00G018CHOI00@nwk-avmta-2.sfbay.sun.com>; Wed,
 12 Dec 2007 10:21:53 -0800 (PST)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0JSY00CIA8CGUX70@nwk-avmta-2.sfbay.sun.com>; Wed,
 12 Dec 2007 10:21:53 -0800 (PST)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id lBCILqwc013389; Wed,
 12 Dec 2007 18:21:52 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0JSY001017D9CA00@mail-amer.sun.com>
 (original mail from Timothy.Haley@Sun.COM); Wed,
 12 Dec 2007 11:21:52 -0700 (MST)
Received: from [172.20.25.27] by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0JSY00FM38C9XSJ0@mail-amer.sun.com>; Wed,
 12 Dec 2007 11:21:45 -0700 (MST)
Date: Wed, 12 Dec 2007 11:21:45 -0700
From: Tim Haley <Timothy.Haley@sun.com>
Subject: Re: A_MDEV Removal [PSARC/2007/675 FastTrack timeout 12/17/2007]
In-reply-to: <475DB9DE.5070808@sun.com>
Sender: Timothy.Haley@sun.com
To: PSARC-ext@sun.com
Cc: Timothy Haley <tim.haley@sun.com>
Message-id: <476026B9.3000000@sun.com>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.2.0.264296
References: <475DB9DE.5070808@sun.com>
User-Agent: Thunderbird 2.0.0.6 (X11/20071119)
Status: RO
Content-Length: 59

This case was approved during today's PSARC meeting.

-tim

