[PATCH v2 0/3]: generic/020: fix MAX_ATTRVAL_SIZE values

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



MAX_ATTRVAL_SIZE provides a per-filesystem maximum xattr value length
limit. There are a few problems with the current values:
- XFS, UDF and Btrfs are incorrectly hardcoded to use 64 bytes
  + This is a regression from the larger value used prior to fff4359d
  + Btrfs's should be calculated using nodesize and xattr name length
- NFS currently uses a 64K limit
  + This may be above the server's underlying failsystem limit, so use
    a conservative estimate instead

Cheers, David

 common/attr           | 175 ++++++++++++++++++++++++------------------
 tests/generic/020     |  10 ++-
 tests/generic/020.out |   2 +-
 3 files changed, 108 insertions(+), 79 deletions(-)




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux