Gentoo Archives: gentoo-dev

From: linux-dev <linux-dev@×××××××××××.org>
To: gentoo-dev@g.o
Cc: gentoo-user@g.o
Subject: [gentoo-dev] XFS / gentoo-sources
Date: Thu, 02 May 2002 05:14:11
Message-Id: 20020502124001.6f6fd7d3.linux-dev@dialectique.org
1 A message to Daniel Robbins and other developers:
2
3 The exclusion of XFS support in the newest Gentoo kernel
4 hit many people by surprise:
5
6 "I've just released a brand-new gentoo-sources kernel. ... Please
7 note that this kernel has no XFS in it. I was able to really
8 enhance this kernel because I didn't have the huge XFS patch
9 to get in the way." -Daniel Robbins
10
11 I was stunned by the number of people who wished to take advantage
12 of the new performance enhancements in the newest Gentoo kernel,
13 and in order to do so, considered changing their entire filesystem
14 just to benefit from the newest kernel !
15
16 Incredible, that for (at least) the past six months, XFS support
17 has been offered (and even 'encouraged' in the install docs), and
18 now people are wanting to change their filesystem (which isn't
19 trivial) because of someone's decision as to what to include in
20 the newest high-performance Gentoo kernel?
21
22 (from the mailing lists)
23
24 "On this note, is there a "good" way to convert XFS to something else
25 like jfs or ext3 or whatever is in the default kernel?"
26
27 "Now I guess I have to reinstall to take advantage of the new gentoo
28 sources."
29
30 "So what are people choosing for a filesystem who want to use the
31 gentoo kernel?"
32
33 "I sure will be glad when the XFS code gets integrated with the
34 main kernel sources."
35
36 "Is there any way to convert an XFS partition to ext3 or even
37 ResierFS? ... the speed improvements of the preempt and such are
38 far more important to me then the benefits of XFS."
39
40
41 Having chosen a particular filesystem and then having to deal with
42 the consequences of not benefiting from the newest performance
43 enhancements is one issue.
44
45 Another issue is, if XFS as a filesystem which used to be supported
46 by the Gentoo (sys-kernel/linux-sources which no longer exists) kernel,
47 will be de-emphasized, then perhaps, the install docs should be changed
48 to reflect this (opposite) trend:
49
50 (from the install documentation)
51
52 "XFS is a high-performance enterprise-class filesystem with metadata
53 journaling that is fully supported under Gentoo Linux."
54
55 If it's not currently false, then it's just a bit misleading to people
56 who are installing for the first time and haven't read all of the issues
57 discussed on the mailing lists. Perhaps, the issues surrounding XFS
58 and stability in recent kernels, and the likelihood? that the newest
59 performance tweaks may take longer to reach the (new) xfs-sources, should
60 be emphasized from the beginning.
61
62 It only when it's too late that people start realizing that the
63 filesystem that they've chosen doesn't correlate well with getting
64 the newest cutting-edge high-performance Gentoo kernels:
65
66 (from the mailing lists)
67
68 "The one drawback is that xfs patches are only available for certain
69 kernel releases"
70
71 "It is disheartening to see XFS being deemphesized by the distro.
72 ... I would really like to have preempt and low latency back as
73 well, but am unwilling to give up what is hands down my favorite
74 filesystem in order to do so."
75
76 "If you can survive with the 2.4.18 kernel you can have the XFS
77 patch and the preempt patch at the same time"
78
79
80 What to make of all this? I'm in as much of a dilemma as many others,
81 and the first impulse was to create my own Gentoo kernel with all of
82 the performance and security patches + XFS (which seems to be simply an
83 image size issue--based on D. Robbin's "I was able to really enhance
84 this kernel because I didn't have the huge XFS patch to get in the way.",
85 rather than a stability issue). If XFS creates instability in the
86 newest kernel sources, this should be mentioned, since many people
87 will read the install documentation thinking the following excerpt
88 more or less means "stable":
89
90 (from the install documentation)
91
92 "If you're looking for a high-performance filesystem with journaling
93 support, use XFS; both ext3 and XFS are mature and refined."
94
95
96 >From the mailing list complaints/comments/questions, I have the
97 impression that creating such a kernel is not a trivial task. If it
98 is, could someone offer a HOWTO on constructing/patching such a
99 personalized Gentoo kernel so that many people won't have to rely
100 on or wait for the newest official Gentoo kernel that suits everyone's
101 setup?
102
103 If it is no trivial task, could we then change the install docs
104 to prevent others from choosing 'the wrong FS' for high-performance,
105 OR simply offer the non-XFS kernel version AND the XFS kernel version,
106 since it seems not to be a huge stability issue anymore.
107
108 Comments/discussion welcome.
109
110 /r.

Replies

Subject Author
Re: [gentoo-dev] XFS / gentoo-sources Joachim Blaabjerg <styx@×××××.org>