public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12868] New: getconf returns incorrect FILESIZEBITS for Lustre filesystem
@ 2011-06-09 22:22 adilger.redhat at dilger dot ca
  2011-07-07  4:21 ` [Bug libc/12868] " drepper.fsp at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: adilger.redhat at dilger dot ca @ 2011-06-09 22:22 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12868

           Summary: getconf returns incorrect FILESIZEBITS for Lustre
                    filesystem
           Product: glibc
           Version: 2.14
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: adilger.redhat@dilger.ca


Created attachment 5782
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5782
Add Lustre filesystem to getconf/pathconf/statvfs

Due to the way getconf is implemented, it needs to explicitly list each
filesystem type in order to determine the correct FILESIZEBITS and
LINK_MAX values to use for each filesystem.

Attached is a patch against glibc-2.14-9-g29f6547, though it also
patches at least as far back as glibc-2.12.



Add Lustre filesystem to getconf/pathconf/statvfs

Add definitions of LUSTRE_SUPER_MAGIC and LUSTRE_LINK_MAX, and add
detection into __statfs_filesize_max(), __statvfs_getflags(), and
__statfs_link_max() so that getconf(), pathconf(), statvfs(), etc.
can detect this filesystem type correctly.

The LUSTRE_SUPER_MAGIC type is already handled by coreutils, but
it seems that coreutils and glibc do not share the magic values.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/12868] getconf returns incorrect FILESIZEBITS for Lustre filesystem
  2011-06-09 22:22 [Bug libc/12868] New: getconf returns incorrect FILESIZEBITS for Lustre filesystem adilger.redhat at dilger dot ca
@ 2011-07-07  4:21 ` drepper.fsp at gmail dot com
  2011-12-23 15:08 ` drepper.fsp at gmail dot com
  2014-06-24  8:38 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-07-07  4:21 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12868

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-07-07 04:21:26 UTC ---
I've applied the patch with a tiny change.

Next time update the copyright year in the files and pay attention to the file
encoding.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/12868] getconf returns incorrect FILESIZEBITS for Lustre filesystem
  2011-06-09 22:22 [Bug libc/12868] New: getconf returns incorrect FILESIZEBITS for Lustre filesystem adilger.redhat at dilger dot ca
  2011-07-07  4:21 ` [Bug libc/12868] " drepper.fsp at gmail dot com
@ 2011-12-23 15:08 ` drepper.fsp at gmail dot com
  2014-06-24  8:38 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-12-23 15:08 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12868

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-12-23 15:07:33 UTC ---
Should have been closed already.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/12868] getconf returns incorrect FILESIZEBITS for Lustre filesystem
  2011-06-09 22:22 [Bug libc/12868] New: getconf returns incorrect FILESIZEBITS for Lustre filesystem adilger.redhat at dilger dot ca
  2011-07-07  4:21 ` [Bug libc/12868] " drepper.fsp at gmail dot com
  2011-12-23 15:08 ` drepper.fsp at gmail dot com
@ 2014-06-24  8:38 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-24  8:38 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=12868

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-24  8:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-09 22:22 [Bug libc/12868] New: getconf returns incorrect FILESIZEBITS for Lustre filesystem adilger.redhat at dilger dot ca
2011-07-07  4:21 ` [Bug libc/12868] " drepper.fsp at gmail dot com
2011-12-23 15:08 ` drepper.fsp at gmail dot com
2014-06-24  8:38 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).