Coder Social home page Coder Social logo

Comments (8)

aschnell avatar aschnell commented on August 17, 2024

Snapper compares the pre and post snapshots. For btrfs, it tries to use special code using the btrfs send/receive ioctl. That ioctl fails, likely not included in your kernel. Snapper then falls back to the general snapshot comparison code so there is no difference besides of speed. On a SSD the speedup would likely be small anyway.

from snapper.

saamalik avatar saamalik commented on August 17, 2024

Just out of curiousity.

Where can I get the btrfs IOCTL kernel patch?

from snapper.

aschnell avatar aschnell commented on August 17, 2024

It was included upstream about a year ago.

from snapper.

saamalik avatar saamalik commented on August 17, 2024

Hmm -- I'm using a very recent stock mainline kernel:

Linux Vaio-Saad 3.12.6-1-ARCH #1

What is the config name?

from snapper.

aschnell avatar aschnell commented on August 17, 2024

AFAIS there's no kernel config switch for btrfs send/receive. You can try to use the "send" command of the "btrfs" command line tool to see whether the ioctl works.

from snapper.

oniko avatar oniko commented on August 17, 2024

Unfortunately that's not the case (missing support in kernel). I bumped into same issue this week as well and I think missing support for ioctl would return ENOTTY from kernel. "btrfs send" using btrfs-progs works as expected but snapper keeps failing. I'll track it down and provide some further info hopefully...

from snapper.

saamalik avatar saamalik commented on August 17, 2024

I have a feeling this issue is related to: https://www.mail-archive.com/[email protected]/msg29667.html. I will retest both issues on the next release

from snapper.

oniko avatar oniko commented on August 17, 2024

Hi, Arvin, saamalik I think I got it. I'll create new pull request with the explanation and proposal for a fix...

from snapper.

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.