xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 593] New: xfs_mount_validate_sb considers imax_pct=0

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 593] New: xfs_mount_validate_sb considers imax_pct=0 to be invalid
From: bugzilla-daemon@xxxxxxxxxxx
Date: Thu, 30 Mar 2006 10:16:08 -0800
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=593

           Summary: xfs_mount_validate_sb considers imax_pct=0 to be invalid
           Product: Linux XFS
           Version: Current
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XFS kernel code
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: kjamieson@xxxxxxxxxx


This change: http://oss.sgi.com/archives/linux-xfs/2006-03/msg00017.html

Added the check "sbp->sb_imax_pct < 1" into xfs_mount_validate_sb. This prevents
a filesystem previously created with "-i maxpct=0" from being mounted (until
imax_pct is changed with xfs_db or xfs_growfs).

mkfs.xfs still accepts 0 as a valid value for imax_pct and its man page still
states that this is allowed:

"The option maxpct=value specifies the maximum percentage of space in the
filesystem that can be allocated to inodes. The default value is 25%. Setting
the value to 0 means that essentially all of the filesystem can become inode
blocks."

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 593] New: xfs_mount_validate_sb considers imax_pct=0 to be invalid, bugzilla-daemon <=