All of lore.kernel.org
 help / color / mirror / Atom feed
* Reiser4 for Linux-2.6.28
@ 2008-12-26 23:53 Edward Shishkin
  2009-01-06 22:37 ` Edward Shishkin
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Shishkin @ 2008-12-26 23:53 UTC (permalink / raw)
  To: Reiserfs mailing list

Hello everyone.

Changes since reiser4-for-2.6.27:

. adjust to the new aops;
. use d_obtain_alias instead of d_alloc_anon (Jeff Chua);
. remove simple_prepare_write usage (Laurent Riffard).

Find at
http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/

Thanks,
Edward.

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

* Re: Reiser4 for Linux-2.6.28
  2008-12-26 23:53 Reiser4 for Linux-2.6.28 Edward Shishkin
@ 2009-01-06 22:37 ` Edward Shishkin
  0 siblings, 0 replies; 2+ messages in thread
From: Edward Shishkin @ 2009-01-06 22:37 UTC (permalink / raw)
  To: Reiserfs mailing list

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

Edward Shishkin wrote:
> Hello everyone.
>
> Changes since reiser4-for-2.6.27:
>
> . adjust to the new aops;
> . use d_obtain_alias instead of d_alloc_anon (Jeff Chua);
> . remove simple_prepare_write usage (Laurent Riffard).
>
> Find at
> http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/
>
>   

I have updated the stuff with the attached patch,
please, refresh your reiser4-for-2.6.28

Thanks,
Edward.

[-- Attachment #2: reiser4-disable-preemption-in-set-page-dirty.patch --]
[-- Type: text/x-patch, Size: 694 bytes --]

---
 linux-2.6.27/fs/reiser4/page_cache.c |    2 ++
 1 file changed, 2 insertions(+)

--- linux-2.6.27/fs/reiser4/page_cache.c.orig
+++ linux-2.6.27/fs/reiser4/page_cache.c
@@ -469,10 +469,12 @@ void reiser4_set_page_dirty_internal(str
 	if (!TestSetPageDirty(page)) {
 		WARN_ON_ONCE(!PagePrivate(page) && !PageUptodate(page));
 		if (mapping_cap_account_dirty(mapping)) {
+			preempt_disable();
 			__inc_zone_page_state(page, NR_FILE_DIRTY);
 			__inc_bdi_stat(mapping->backing_dev_info,
 				       BDI_RECLAIMABLE);
 			task_io_account_write(PAGE_CACHE_SIZE);
+			preempt_enable();
 		}
 		assert("edward-1558", mapping->host != NULL);
 		__mark_inode_dirty(mapping->host, I_DIRTY_PAGES);

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

end of thread, other threads:[~2009-01-06 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-26 23:53 Reiser4 for Linux-2.6.28 Edward Shishkin
2009-01-06 22:37 ` Edward Shishkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.