mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Kleikamp <shaggy@austin.ibm.com>
To: Daniel Drake <ddrake@brontes3d.com>
Cc: axboe@suse.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] jfs: Add splice support
Date: Mon, 30 Oct 2006 10:56:55 -0600	[thread overview]
Message-ID: <1162227415.24229.2.camel@kleikamp.austin.ibm.com> (raw)
In-Reply-To: <20061030163148.2412D7B40A0@zog.reactivated.net>

On Mon, 2006-10-30 at 16:31 +0000, Daniel Drake wrote:
> This allows the splice() and tee() syscalls to be used with JFS.

Gosh, that was easy.  Why couldn't I do that?  :-)

Answer: I would have had to test it.

I'm assuming you did?

Thanks,
Shaggy

> Signed-off-by: Daniel Drake <ddrake@brontes3d.com>
> 
> Index: linux-2.6.19-rc3/fs/jfs/file.c
> ===================================================================
> --- linux-2.6.19-rc3.orig/fs/jfs/file.c
> +++ linux-2.6.19-rc3/fs/jfs/file.c
> @@ -109,6 +109,8 @@ const struct file_operations jfs_file_op
>  	.aio_write	= generic_file_aio_write,
>  	.mmap		= generic_file_mmap,
>  	.sendfile	= generic_file_sendfile,
> +	.splice_read	= generic_file_splice_read,
> +	.splice_write	= generic_file_splice_write,
>  	.fsync		= jfs_fsync,
>  	.release	= jfs_release,
>  	.ioctl		= jfs_ioctl,
-- 
David Kleikamp
IBM Linux Technology Center


  reply	other threads:[~2006-10-30 17:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-30 16:31 Daniel Drake
2006-10-30 16:56 ` Dave Kleikamp [this message]
2006-10-30 17:29   ` Daniel Drake
2006-10-30 17:49     ` Dave Kleikamp
2006-10-31  8:32   ` Jan Engelhardt
2006-10-31  8:46     ` Jens Axboe

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=1162227415.24229.2.camel@kleikamp.austin.ibm.com \
    --to=shaggy@austin.ibm.com \
    --cc=axboe@suse.de \
    --cc=ddrake@brontes3d.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®