From: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
To: Edward Shishkin <edward.shishkin@gmail.com>
Cc: reiserfs-devel@vger.kernel.org
Subject: Re: git tree for reiser4 development
Date: Sun, 7 Nov 2010 21:56:36 +0100 [thread overview]
Message-ID: <201011072156.36359.a.miskiewicz@gmail.com> (raw)
In-Reply-To: <4CD6CBDD.9020802@gmail.com>
On Sunday 07 of November 2010, Edward Shishkin wrote:
> > Was looking for something newer - close to 2.6.36
>
> reiser4-for-2.6.36 stuff is not yet ready.
Dirty, untested change for .35 patch ... I assume "real" update needs more than this?
Index: kernel-reiser4.patch
===================================================================
RCS file: /cvsroot/packages/kernel/kernel-reiser4.patch,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -u -r1.13 -r1.14
--- kernel-reiser4.patch 5 Aug 2010 19:52:26 -0000 1.13
+++ kernel-reiser4.patch 7 Nov 2010 18:25:45 -0000 1.14
@@ -40016,7 +40016,7 @@
diff -urN linux-2.6.35.orig/fs/reiser4/plugin/inode_ops.c linux-2.6.35/fs/reiser4/plugin/inode_ops.c
--- linux-2.6.35.orig/fs/reiser4/plugin/inode_ops.c 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.35/fs/reiser4/plugin/inode_ops.c 2010-08-04 15:44:57.000000000 +0200
-@@ -0,0 +1,906 @@
+@@ -0,0 +1,916 @@
+/*
+ * Copyright 2005 by Hans Reiser, licensing governed by reiser4/README
+ */
@@ -40479,9 +40479,19 @@
+ return result;
+ }
+ }
-+ result = inode_setattr(inode, attr);
-+ if (!result)
++
++ if ((attr->ia_valid & ATTR_SIZE) &&
++ attr->ia_size != i_size_read(inode))
++ result = vmtruncate(inode, attr->ia_size);
++ if (result)
++ goto result_error;
++ setattr_copy(inode, attr);
++ mark_inode_dirty(inode);
++ result = 0;
++result_error:
++ if (!result) {
+ reiser4_update_sd(inode);
++ }
+ }
+
+ context_set_commit_async(ctx);
@@ -56458,7 +56468,7 @@
+ .read = reiser4_read_careful,
+ .write = reiser4_write_careful,
+ .aio_read = generic_file_aio_read,
-+ .ioctl = reiser4_ioctl_careful,
++ .unlocked_ioctl = reiser4_ioctl_careful,
+ .mmap = reiser4_mmap_careful,
+ .open = reiser4_open_careful,
+ .release = reiser4_release_careful,
@@ -65466,7 +65476,7 @@
+
+ truncate_inode_pages(&inode->i_data, 0);
+ inode->i_blocks = 0;
-+ clear_inode(inode);
++ end_writeback(inode);
+ reiser4_exit_context(ctx);
+}
+
@@ -65726,11 +65736,11 @@
+ .alloc_inode = reiser4_alloc_inode,
+ .destroy_inode = reiser4_destroy_inode,
+ .dirty_inode = reiser4_dirty_inode,
-+ .delete_inode = reiser4_delete_inode,
++ .evict_inode = reiser4_delete_inode,
+ .put_super = reiser4_put_super,
+ .write_super = reiser4_write_super,
+ .statfs = reiser4_statfs,
-+ .clear_inode = reiser4_clear_inode,
++// .clear_inode = reiser4_clear_inode,
+ .writeback_inodes = reiser4_writeback_inodes,
+ .show_options = reiser4_show_options
+};
>
> Thanks,
> Edward.
--
Arkadiusz Mi≈õkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-11-07 20:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-07 14:38 git tree for reiser4 development Arkadiusz Miskiewicz
2010-11-07 14:55 ` Edward Shishkin
2010-11-07 15:39 ` Arkadiusz Miskiewicz
2010-11-07 15:55 ` Edward Shishkin
2010-11-07 20:56 ` Arkadiusz Miskiewicz [this message]
2010-11-07 21:25 ` Edward Shishkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201011072156.36359.a.miskiewicz@gmail.com \
--to=a.miskiewicz@gmail.com \
--cc=edward.shishkin@gmail.com \
--cc=reiserfs-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).