From: "Jürgen Herrmann" <t-5@t-5.eu>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: compiling btrfs-progs 4.17.1 gives error "reiserfs/misc.h: No such file or directory"
Date: Fri, 07 Sep 2018 12:45:23 +0200	[thread overview]
Message-ID: <adf0619f947779c7c9c13939f8229a4d@t-5.eu> (raw)
In-Reply-To: <e3fa019e-32ff-252c-8307-b871ee40b71f@gmx.com>
Am 7.9.2018 12:15, schrieb Qu Wenruo:
> On 2018/9/7 下午5:56, Jürgen Herrmann wrote:
>> Hello!
>> 
>> I'm having a problem with btrfs send which stops after several 
>> seconds.
>> The process hangs with 100% cpu time on one cpu. The system is still
>> responsive to input but no io is happening anymore so the system
>> basically becomes unuseable.
> 
> Do you have a lot of snapshots or reflinked files (common for offline
> dedupe)?
> 
> If so, send can spend a lot of time trying to iterate all referencers.
Linux Mint 19 uses timeshift-btrfs which i find very handy. here's
a list of snapshot directories, each containing two subvolumes for
@ and @home:
drwxr-xr-x 1 root root 30 Aug 16 20:00 2018-08-16_20-00-01
drwxr-xr-x 1 root root 30 Aug 17 14:00 2018-08-17_14-00-02
drwxr-xr-x 1 root root 30 Aug 23 20:00 2018-08-23_20-00-01
drwxr-xr-x 1 root root 30 Aug 30 20:00 2018-08-30_20-00-01
drwxr-xr-x 1 root root 30 Aug 31 17:00 2018-08-31_17-00-01
drwxr-xr-x 1 root root 30 Sep  1 20:00 2018-09-01_20-00-02
drwxr-xr-x 1 root root 30 Sep  2 20:00 2018-09-02_20-00-02
drwxr-xr-x 1 root root 30 Sep  3 22:00 2018-09-03_22-00-01
drwxr-xr-x 1 root root 30 Sep  4 22:00 2018-09-04_22-00-02
drwxr-xr-x 1 root root 30 Sep  5 22:00 2018-09-05_22-00-01
drwxr-xr-x 1 root root 30 Sep  6 20:00 2018-09-06_20-00-01
drwxr-xr-x 1 root root 30 Sep  6 22:00 2018-09-06_22-00-01
> 
>> 
>> I'm on linux mint 19, freshly installed on a new laptop about 6 weeks
>> ago. So i wanted to compile latest btrfs-progs and latest stable 
>> kernel
>> first before reporting that here, BUT: I cannot compile btrfs-progs 
>> 4.17.1
>> because of the following error:
> 
> Your configure detects reiserfs support but it seems that your reiserfs
> progs is not up-to-date.
> 
> You could disable reiserfs convert support by:
> 
> $ ./configure --with-convert=ext2
This gives me the following error:
     [LD]     btrfs-convert
convert/main.o: In function `convert_open_fs':
/home/jh/Documents/src/_external/btrfs-progs/convert/main.c:1066: 
undefined reference to `reiserfs_convert_ops'
/home/jh/Documents/src/_external/btrfs-progs/convert/main.c:1066: 
undefined reference to `reiserfs_convert_ops'
collect2: error: ld returned 1 exit status
Makefile:506: recipe for target 'btrfs-convert' failed
make: *** [btrfs-convert] Error 1
Best regards, Jürgen
> 
> Thanks,
> Qu
> 
>> 
>>     [CC]     convert/source-reiserfs.o
>> In file included from convert/source-reiserfs.c:30:0:
>> ./convert/source-reiserfs.h:23:10: fatal error: reiserfs/misc.h: No 
>> such
>> file or directory
>>  #include <reiserfs/misc.h>
>>           ^~~~~~~~~~~~~~~~~
>> compilation terminated.
>> Makefile:309: recipe for target 'convert/source-reiserfs.o' failed
>> make: *** [convert/source-reiserfs.o] Error 1
>> 
>> A google search did not turn up any help nor does apt know of any
>> reiserfs related libs that i could install.
>> 
>> Best regards,
>> Jürgen
>> 
-- 
Jürgen Herrmann
https://t-5.eu
ALbertstraße 2
94327 Bogen
next prev parent reply	other threads:[~2018-09-07 15:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-07  9:56 compiling btrfs-progs 4.17.1 gives error "reiserfs/misc.h: No such file or directory" Jürgen Herrmann
2018-09-07 10:15 ` Qu Wenruo
2018-09-07 10:45   ` Jürgen Herrmann [this message]
2018-09-07 11:13     ` Qu Wenruo
2018-09-07 13:54       ` Jürgen Herrmann
2018-09-07 10:55   ` Jürgen Herrmann
2018-09-07 10:38 ` David Sterba
2018-09-07 10:51   ` Jürgen Herrmann
2018-09-07 13:15     ` David Sterba
2018-09-07 15:46 ` Chris Murphy
2018-09-11 10:12   ` Jürgen Herrmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=adf0619f947779c7c9c13939f8229a4d@t-5.eu \
    --to=t-5@t-5.eu \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=quwenruo.btrfs@gmx.com \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
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 NNTP newsgroup(s).