Project

General

Profile

Feature #6354

ObjectStore: allow xattrs as large as the underlying FS allows

Added by Greg Farnum almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
Start date:
09/19/2013
Due date:
% 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.

History

#1 Updated by Sage Weil over 5 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF