xfs
[Top] [All Lists]

TAKE - EA E2BIG -> ERANGE change

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - EA E2BIG -> ERANGE change
From: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 May 2002 14:43:44 +1000 (EST)
Sender: owner-linux-xfs@xxxxxxxxxxx
This change should allow one to set and get an ACL with up to 
25 entries (the XFS limit).
As John Trostel noticed, this bug would cause getting an ACL to fail
when retrieving an ACL with more than 16 ACEs ("argument too long").

HEADS UP: 
  This XFS kernel change will break "xfsdump -e", i.e. the
  checking of the SGI_XFSDUMP_SKIP_FILE EA. You'll need 
  xfsdump-2.0.2 in order to use the -e option with this XFS change.

John, we've yet to look into the panic you reported - on the TODO list.

--Tim

Date:  Tue May  7 21:29:55 PDT 2002
Workarea:  snort.melbourne.sgi.com:/home/diskb/build4/tes/slinx-xfs

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


Modid:  xfs-cmds:slinx:118558a
cmd/xfsdump/VERSION - 1.30
        - Bump to 2.0.2 for xfsdump ERANGE checking.

cmd/xfsdump/doc/CHANGES - 1.37
        - 2.0.2 change for xfsdump -e change where we now need to
          test for ERANGE for skip EA.

cmd/xfsdump/dump/inomap.c - 1.13
        - 2.0.2 change for xfsdump -e change where we now need to
          test for ERANGE for skip EA.

cmd/xfstests/051 - 1.14
        - Test for handling of large ACLs with the limit and beyond
          number of ACEs.

cmd/xfstests/051.out - 1.14
        - Test for handling of large ACLs with the limit and beyond
          number of ACEs.




Modid:  2.4.x-xfs:slinx:118558b
linux/fs/xfs/xfs_dmapi.c - 1.51
        - Map ERANGE error returns from VOP_ATTR_* calls to E2BIG in order to
          comply with dmapi standard.

linux/fs/xfs/xfs_attr_leaf.c - 1.60
linux/fs/xfs/xfs_acl.c - 1.17
        - E2BIG --to--> ERANGE



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - EA E2BIG -> ERANGE change, Timothy Shimmin <=