View Issue Details

IDProjectCategoryView StatusLast Update
00006711003.1(2008)/Issue 7System Interfacespublic2019-06-10 08:55
Reporternick Assigned Toajosey  
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted As Marked 
NameNick Stoughton
OrganizationUSENIX
User Reference
Sectionaio_fsync
Page Number573
Line Number19824
Interp StatusApproved
Final Accepted TextSee 0000671:0001538.
Summary0000671: aio_fsync() EBADF and "open for writing"
DescriptionFollowing the interpretation response for 0000501, the same problem exists for aio_fsync, and there is no need for an error if the file is open for reading or search. The access mode of the file descriptor does not affect whether there
are pending I/O operations on the underlying file.
Desired ActionChange:

    The aio_fildes member of the aiocb structure referenced by the aiocbp argument is not a valid file descriptor open for writing.


to:
    The aio_fildes member of the aiocb structure referenced by the aiocbp argument is not a valid file descriptor.

At line 19973 (APPLICATION USAGE), change "None." to:

Note that even if the file descriptor is not open for writing, if there are
any pending write requests on the underlying file, then that I/O will be
completed prior to the return of a call to aio_error( ) or aio_return() indicating that the operation has completed.
Tagstc2-2008

Relationships

related to 0000501 Closedajosey fdatasync() EBADF and "open for writing" 

Activities

Don Cragun

2013-04-11 15:56

manager   bugnote:0001538

Interpretation response
------------------------
The standard states that aio_fsync() shall fail on a read-only file
descriptor, and conforming implementations must conform to this. However,
concerns have been raised about this which are being referred to the
sponsor.

Rationale:
-------------
The access mode of the file descriptor does not affect whether there
are pending I/O operations on the underlying file.

Notes to the Editor (not part of this interpretation):
-------------------------------------------------------
Make the changes in the Desired Action.

ajosey

2013-09-06 04:57

manager   bugnote:0001816

Interpretation Proposed 6 Sep 2013

ajosey

2013-10-14 13:05

manager   bugnote:0001887

Interpretation approved 14 October 2013

ajosey

2014-02-28 11:50

manager   bugnote:0002171

Updated section to be aio_fsync() from fdatasync(). No other changes made.

Issue History

Date Modified Username Field Change
2013-03-19 15:39 nick New Issue
2013-03-19 15:39 nick Status New => Under Review
2013-03-19 15:39 nick Assigned To => ajosey
2013-03-19 15:39 nick Name => Nick Stoughton
2013-03-19 15:39 nick Organization => USENIX
2013-03-19 15:39 nick Section => fdatasync
2013-03-19 15:39 nick Page Number => 573
2013-03-19 15:39 nick Line Number => 19824
2013-03-19 15:39 nick Interp Status => ---
2013-03-19 15:39 nick Issue generated from: 0000501
2013-03-19 15:39 nick Relationship added related to 0000501
2013-03-19 15:42 nick Description Updated
2013-03-19 15:42 nick Description Updated
2013-03-19 15:52 nick Description Updated
2013-04-11 15:51 Don Cragun Status Under Review => Resolved
2013-04-11 15:51 Don Cragun Resolution Open => Accepted
2013-04-11 15:51 Don Cragun Description Updated
2013-04-11 15:51 Don Cragun Tag Attached: tc2-2008
2013-04-11 15:56 Don Cragun Interp Status --- => Pending
2013-04-11 15:56 Don Cragun Note Added: 0001538
2013-04-11 15:56 Don Cragun Status Resolved => Interpretation Required
2013-04-11 15:56 Don Cragun Resolution Accepted => Accepted As Marked
2013-04-11 15:56 Don Cragun Desired Action Updated
2013-04-11 15:57 Don Cragun Final Accepted Text => See bugID:1538.
2013-04-11 15:57 Don Cragun Desired Action Updated
2013-04-11 15:58 Don Cragun Final Accepted Text See bugID:1538. => See 0000671:0001538.
2013-09-06 04:57 ajosey Interp Status Pending => Proposed
2013-09-06 04:57 ajosey Note Added: 0001816
2013-10-14 13:05 ajosey Interp Status Proposed => Approved
2013-10-14 13:05 ajosey Note Added: 0001887
2014-02-28 11:50 ajosey Section fdatasync => aio_fsync
2014-02-28 11:50 ajosey Note Added: 0002171
2019-06-10 08:55 agadmin Status Interpretation Required => Closed