Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • fs
  • ext4
  • inline.c
Find file BlameHistoryPermalink
  • boxi liu's avatar
    ext4: improve free space calculation for inline_data · c4932dbe
    boxi liu authored Jul 01, 2013
    
    
    In ext4 feature inline_data,it use the xattr's space to store the
    inline data in inode.When we calculate the inline data as the xattr,we
    add the pad.But in get_max_inline_xattr_value_size() function we count
    the free space without pad.It cause some contents are moved to a block
    even if it can be
    stored in the inode.
    
    Signed-off-by: default avatarliulei <lewis.liulei@huawei.com>
    Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
    Reviewed-by: default avatarTao Ma <boyu.mt@taobao.com>
    c4932dbe
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7