Project

General

Profile

Actions

Feature #6354

closed

ObjectStore: allow xattrs as large as the underlying FS allows

Added by Greg Farnum over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Right now our chained xattr implementation hard-codes a limit of 2K for each individual xattr. This is smaller than the filesystems generally support (just checking Wikipedia, extN and btrfs allows an xattr to be a full block, although extN also caps total xattr data at that size; xfs allows 64KB xattrs with unlimited totals) and increasing that value to what the FS supports will probably increase performance by requiring reads of fewer disk blocks to retrieve large xattrs.

Actions #1

Updated by Sage Weil over 10 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF