Skip to contentSkip to conversation

Reiser4, 2.6.28-rc2-mm1 and prepare_write / commit_write

DISCUSSION Zan Lynx 2 participants 2 messages Oct 30, 2008

lore
Share & tools
lore

Zan Lynx

author
#0 lore raw

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

It looks like 2.6.28 committed the removal of prepare_write and commit_write. They are apparently replaced with write_begin and write_end.

I thought about trying to convert Reiser4 myself but it was already past midnight and it looked like it might be six hour job.

The conversion does not look too complicated, but there may be some tricky issues.

I am wondering if you are already working on this, Edward?
- --
Zan Lynx
[email protected]

"Knowledge is Power. Power Corrupts. Study Hard. Be Evil." -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkJ5p4ACgkQolqWs/Y4NLwwxQCfVE8j11jDXHiLC8NVYzLmqFfV BAIAn0N5154aMz6TIqof+p6D3T277NXo
=DREw
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 11 lines · Zan Lynx

It looks like 2.6.28 committed the removal of prepare_write and commit_write. They are apparently replaced with write_begin and write_end.

I thought about trying to convert Reiser4 myself but it was already past midnight and it looked like it might be six hour job.

The conversion does not look too complicated, but there may be some tricky issues.

I am wondering if you are already working on this, Edward?

Yup.

This is only for loop devices, so if you don't use it, you can get rid of reiser4_{prepare,commit}_write and supply NULL to vfs as a temporary fixup.

Thanks,
Edward.