Skip to contentSkip to conversation

Reiser4 for Linux-2.6.27

DISCUSSION Edward Shishkin 3 participants 5 messages Oct 11, 2008 – Oct 13, 2008

lore
Share & tools
lore
#0 lore raw

Hello everyone.

This patch is based on reiser4-for-2.6.25 and contains the following changes:

1) use trylock_page instead of !TestSetPageLocked (Mathieu Bélanger);
2) use file_remove_suid() instead of remove_suid() (Mathieu Bélanger);
3) fix the problem with gzip1 compression in the case when reiser4 is compiled as a module;
4) use __set_page_dirty_nobuffers() instead of reiser4_set_page_dirty();
5) update reiser4_set_page_dirty_internal() to take into account the latest changes in vfs.

(4) and (5) fix annoying oom under heavy workload (reproducible with dbench 190).

The stuff for download can be found here:
http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/

Thanks,
Edward.
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

I was trying the patch and get this error..

Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2
MODPOST 45 modules
ERROR: "swapper_space" [fs/reiser4/reiser4.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Signature · 2 lines
View this message in context: http://www.nabble.com/Reiser4-for-Linux-2.6.27-tp19936950p19940006.html
Sent from the ReiserFS - General mailing list archive at Nabble.com.
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 8 lines · callx

I was trying the patch and get this error..

Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2
MODPOST 45 modules
ERROR: "swapper_space" [fs/reiser4/reiser4.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

This one looks like it's due to swapper_space not being exported. I don't know if that's on purpose or just overlooked since all the current users of page_mapping() are in core code.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkjyHcAACgkQLPWxlyuTD7K0XgCeI0yV6c6gUMX02+BZp1nwIdIw MV8AoJPQWSM1K39in3vntIj1Eq+B2bFH
=ver0
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 11 lines · Jeff Mahoney
Quoted 8 lines · callx

I was trying the patch and get this error..

Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2
MODPOST 45 modules
ERROR: "swapper_space" [fs/reiser4/reiser4.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

This one looks like it's due to swapper_space not being exported. I

Yup, I have shoved this to reiser4 with page_mapping(), which is too generic in our case.
It seems, we need to patch vfs library with one more version of set_page_dirty..

Edward.

Quoted 5 lines

don't know if that's on purpose or just overlooked since all the current users of page_mapping() are in core code.

-Jeff

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to callx
Quoted 9 lines · callx

I was trying the patch and get this error..

Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2
MODPOST 45 modules
ERROR: "swapper_space" [fs/reiser4/reiser4.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

I have updated the stuff, please, try again.
Thanks.