Coder Social home page Coder Social logo

Comments (4)

asomers avatar asomers commented on September 26, 2024

Probably has nothing to do with #24. This test deals with the utimensat system call. It's got nothing to do with long pathnames. The problem is apparently that utimensat returned 0 but didn't do anything. It's probably a kernel bug. Or there might be some kind of security setting on your computer that prevents utimensat from backdating the time when run by a non-root user. Or maybe your filesystem only supports 1-second granularity. In the latter case, you should submit a PR to pjdfstest fixing the specification (see chflags/12.t for an example of specifications that differ between filesystems.

from pjdfstest.

s-m-e avatar s-m-e commented on September 26, 2024

I assumed #24 and #25 to be related because they are the only two failures I see - but similarly on two totally different Linux distributions. The strange things though is that they both pass on Travis' Ubuntu derivative, which also uses ext4 and almost the same kernel version as on my openSUSE system (4.4.x).

from pjdfstest.

s-m-e avatar s-m-e commented on September 26, 2024

@asomers Simple explanation: mke2fs reduces its default (and maximum allowed) inode size to 128 bytes when generating an ext4 filesystem (without journal) into a space of 128 MBytes or smaller. However, a minimum of 256 bytes per inode is required for storing atime and mtime with nano-second granularity. It is irritating though that utimensat does not indicate any sort of problem in this scenario.

from pjdfstest.

asomers avatar asomers commented on September 26, 2024

Ok, this sounds like a bug in ext4, not pjdfstest.

from pjdfstest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.