Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] journaling filesystem on parisc?
@ 2002-01-16 17:41 Matthias Klose
  2002-01-16 18:19 ` Aaron Macks
  2002-01-20  0:51 ` Randolph Chung
  0 siblings, 2 replies; 4+ messages in thread
From: Matthias Klose @ 2002-01-16 17:41 UTC (permalink / raw)
  To: parisc-linux

Did not see this mentioned on the list or the site. Any experiences on
hppa? Does XFS work?

Thanks, Matthias

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [parisc-linux] journaling filesystem on parisc?
  2002-01-16 17:41 [parisc-linux] journaling filesystem on parisc? Matthias Klose
@ 2002-01-16 18:19 ` Aaron Macks
  2002-01-20  0:51 ` Randolph Chung
  1 sibling, 0 replies; 4+ messages in thread
From: Aaron Macks @ 2002-01-16 18:19 UTC (permalink / raw)
  To: parisc-linux

>Did not see this mentioned on the list or the site. Any experiences on
>hppa? Does XFS work?
>
>Thanks, Matthias
>

You could try applying the XFS patches to the kernel for PARISC, and 
I know that they have worked on other RISC architectures(ppc and 
alpha, possibly also sparc), but I'm guessing you might need to do a 
little more work than just kernel compilation
aaron

-- 
_______________________________________________________
Aaron Macks(aaronm@cs.brandeis.edu)
My sheep has seven gall bladders, that makes me the King of the Universe!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [parisc-linux] journaling filesystem on parisc?
  2002-01-16 17:41 [parisc-linux] journaling filesystem on parisc? Matthias Klose
  2002-01-16 18:19 ` Aaron Macks
@ 2002-01-20  0:51 ` Randolph Chung
  2002-01-20 17:56   ` Randolph Chung
  1 sibling, 1 reply; 4+ messages in thread
From: Randolph Chung @ 2002-01-20  0:51 UTC (permalink / raw)
  To: Matthias Klose; +Cc: parisc-linux

In reference to a message from Matthias Klose, dated Jan 16:
> Did not see this mentioned on the list or the site. Any experiences on
> hppa? Does XFS work?

well, it does work with some small tweaks.

i've put a patch out at:
ftp://ftp.parisc-linux.org/patches/xfs-1.0.2-hppa-2.4.17-pa11.diff.gz

it seems to work ok here. i've done some kernel compiles and ran
bonnie++ on it.

I'd like to get some comments on some of the magic numbers in the patch,
and then I hope to commit the parisc specific pieces of the patch since
they aren't really xfs specific. (the following three plus exporting
lclear_user)

first, syscall numbers... are these numbers ok?

--- arch/parisc/kernel/syscall.S	2001/12/11 17:14:06	1.74
+++ arch/parisc/kernel/syscall.S	2002/01/20 00:40:33
@@ -593,6 +593,9 @@ sys_call_table:
 	ENTRY_DIFF(ftruncate64)	/* 200 */
 	ENTRY_SAME(getdents64)
 	ENTRY_DIFF(fcntl64)
+	ENTRY_SAME(attrctl)
+	ENTRY_SAME(acl_get)
+	ENTRY_SAME(acl_set)                     /* 205 */
 
 .end
--- include/asm-parisc/unistd.h	2001/10/09 19:43:37	1.23
+++ include/asm-parisc/unistd.h	2002/01/20 00:40:40
@@ -695,8 +695,11 @@
 #define __NR_ftruncate64        (__NR_Linux + 200)
 #define __NR_getdents64         (__NR_Linux + 201)
 #define __NR_fcntl64            (__NR_Linux + 202)
+#define __NR_attrctl            (__NR_Linux + 203)
+#define __NR_acl_get            (__NR_Linux + 204)
+#define __NR_acl_set            (__NR_Linux + 205)
 
-#define __NR_Linux_syscalls     202
+#define __NR_Linux_syscalls     205
 
 #define HPUX_GATEWAY_ADDR       0xC0000004
 #define LINUX_GATEWAY_ADDR      0x100
 
 
and then a new fcntl flag. these are defined differently for i386 and
ia64 (the two officially supported xfs architectures)

--- include/asm-parisc/fcntl.h	2000/11/10 21:44:44	1.2
+++ include/asm-parisc/fcntl.h	2002/01/20 00:40:39
@@ -24,6 +24,7 @@
 #define O_DIRECT	00040000 /* direct disk access hint - currently ignored */
 #define O_DIRECTORY	00010000 /* must be a directory */
 #define O_NOFOLLOW	00000200 /* don't follow links */
+#define O_INVISIBLE     04000000 /* invisible I/O, for DMAPI/XDSM */
 
 #define F_DUPFD		0	/* dup */
 #define F_GETFD		1	/* get f_flags */

have fun! :-)
randolph
-- 
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [parisc-linux] journaling filesystem on parisc?
  2002-01-20  0:51 ` Randolph Chung
@ 2002-01-20 17:56   ` Randolph Chung
  0 siblings, 0 replies; 4+ messages in thread
From: Randolph Chung @ 2002-01-20 17:56 UTC (permalink / raw)
  To: parisc-linux

> i've put a patch out at:
> ftp://ftp.parisc-linux.org/patches/xfs-1.0.2-hppa-2.4.17-pa11.diff.gz

There's another one now at 
ftp://ftp.parisc-linux.org/patches/xfs-1.0.2-hppa-2.4.17-pa11-small.diff

This one contains only the hppa changes and is meant to be applied over
parisc linux cvs + the following patches from SGI:

from ftp://oss.sgi.com/projects/xfs/download/patches/2.4.17: 

   xfs-2.4.17-split-only.bz2
   xfs-2.4.17-split-kernel.bz2
   xfs-2.4.17-split-misc.bz2
   xfs-2.4.17-split-acl-extattr.bz2
(apply in that order)

there's one new change relative to the old one in page_buf_locking.c
that seems to be a bug upstream. i've reported this to them already.

randolph
-- 
   @..@                                         http://www.TauSq.org/
  (----)
 ( >__< )
 ^^ ~~ ^^

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-01-20 17:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-16 17:41 [parisc-linux] journaling filesystem on parisc? Matthias Klose
2002-01-16 18:19 ` Aaron Macks
2002-01-20  0:51 ` Randolph Chung
2002-01-20 17:56   ` Randolph Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox