1 |
At 04:12 24-10-2002 -0500, John Newman wrote: |
2 |
>Why is it that the XFS patches from SGI (available at |
3 |
>ftp://oss.sgi.com/projects/xfs/download/patches/2.4.19) will not patch |
4 |
>properly against the gentoo-sources kernel 2.4.19-gentoo-r2? 90% of the |
5 |
>patch goes through but several hunks do fail. Which patch already in |
6 |
>2.4.19-gentoo-r2 is incompatible with XFS? |
7 |
|
8 |
The most recent XFS CVS should work with preempt but it is not thoroughly |
9 |
tested. A number of users have corrupted filesystems when they were |
10 |
running with preempt. Both with clean shutdowns and reboots as well as |
11 |
"power failures". |
12 |
|
13 |
I suggest not using preempt with XFS for production systems. |
14 |
|
15 |
>A related question - why does the gentoo XFS-sources kernel source package |
16 |
>not come with the preempt-ac patch? Is preempt incompatible with XFS? |
17 |
|
18 |
For some reason or the other they had problems with XFS and power failures |
19 |
which they were not able to resolve. Most likely this had to do with the |
20 |
bad preempt patches interaction. |
21 |
|
22 |
Note that one of the biggest problems people have had to date is with IDE |
23 |
disks that have had the write cache turned on. No filesystem out there can |
24 |
recover from a power failure on a disk with write caching turned on. In |
25 |
special journaling filesystems have problems with respect to this problem |
26 |
since there is _NO_ guarantee that the LOG was actually _written_ to disk |
27 |
when the call returns from the block layer. And disastrous things happen |
28 |
when the journal/log is corrupt. |
29 |
|
30 |
The other problem is that some IDE disks are lying about whether the write |
31 |
cache is actually turned off. |
32 |
|
33 |
Otherwise it's a fine filesystem that works just like the others. I have |
34 |
had little problems with it to date. I have used it in production for over |
35 |
a year. |
36 |
|
37 |
Cheers |
38 |
|
39 |
-- |
40 |
Seth |
41 |
It might just be your lucky day, if you only knew. |