public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: William Lee Irwin III <wli@holomorphy.com>, linux-kernel@vger.kernel.org
Cc: suparna@in.ibm.com, linux-aio@kvack.org
Subject: Re: aio on ramfs
Date: Sun, 7 Dec 2003 15:50:02 -0600	[thread overview]
Message-ID: <200312071550.03009.rob@landley.net> (raw)
In-Reply-To: <20031207083432.GP19856@holomorphy.com>

On Sunday 07 December 2003 02:34, William Lee Irwin III wrote:

> -- wli
>
> diff -prauN linux-2.6.0-test11/fs/ramfs/inode.c
> ramfs-2.6.0-test11-1/fs/ramfs/inode.c ---
> linux-2.6.0-test11/fs/ramfs/inode.c	2003-11-26 12:43:32.000000000 -0800 +++
> ramfs-2.6.0-test11-1/fs/ramfs/inode.c	2003-12-07 00:26:29.000000000 -0800
> @@ -31,6 +31,7 @@
>  #include <linux/string.h>
>  #include <linux/smp_lock.h>
>  #include <linux/backing-dev.h>
> +#include <linux/writeback.h>
>
>  #include <asm/uaccess.h>
>
> @@ -140,10 +141,28 @@ static int ramfs_symlink(struct inode *
>  	return error;
>  }

Can I suggest a comment right here, "writepage/writepages/set_page_dirty stubs 
needed for aio"?

> +static int ramfs_writepage(struct page *page, struct writeback_control
> *wbc) +{
> +	return 0;
> +}
> +
> +static int ramfs_writepages(struct address_space *mapping, struct
> writeback_control *wbc) +{
> +	return 0;
> +}
> +
> +static int ramfs_set_page_dirty(struct page *page)
> +{
> +	return 0;
> +}

Rob

      parent reply	other threads:[~2003-12-07 21:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-07  8:34 aio on ramfs William Lee Irwin III
2003-12-07 17:40 ` OGAWA Hirofumi
2003-12-07 17:50   ` William Lee Irwin III
2003-12-07 18:55     ` OGAWA Hirofumi
2003-12-07 21:50 ` Rob Landley [this message]

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=200312071550.03009.rob@landley.net \
    --to=rob@landley.net \
    --cc=linux-aio@kvack.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=suparna@in.ibm.com \
    --cc=wli@holomorphy.com \
    /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