From: Heinz Mauelshagen <heinzm@redhat.com>
To: Alasdair G Kergon <agk@redhat.com>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: [PATCH] Check region size during dirty log creation
Date: Wed, 29 Oct 2008 16:53:42 +0100 [thread overview]
Message-ID: <1225295622.1196.12.camel@o> (raw)
In-Reply-To: <20081029154357.GI31233@agk.fab.redhat.com>
Am Mittwoch, den 29.10.2008, 15:43 +0000 schrieb Alasdair G Kergon:
> On Wed, Oct 29, 2008 at 04:07:30PM +0100, Heinz Mauelshagen wrote:
> > Am Mittwoch, den 29.10.2008, 13:56 +0000 schrieb Alasdair G Kergon:
> > > On Wed, Oct 29, 2008 at 02:02:08PM +0100, Heinz Mauelshagen wrote:
> > > The validation should be consistent between userspace and kernel.
> > It should be sufficiently restrictive in the kernel to prevent
> > programming errors causing oopses. It can be called via the kernel
> > interface by any application anyway, so doesn't need to enforce our
> > uspace restrictions (think direct IOCTL calls).
>
> Surely the validation in the two places should match?
I'm arguing, that the kernel should only restrict to prevent against
programming errors.
> Why would userspace need a tighter restriction than the kernel?
Because of specific application requirements.
Why shouldn't we support 2 sector dirty log region sizes for any
application who wants them ?
> One or the other is incorrect.
> - E.g. Does kcopyd handle sub-page regions OK now?
kcopyd allows copying io regions of single sectors.
Heinz
>
> Alasdair
next prev parent reply other threads:[~2008-10-29 15:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 13:02 [PATCH] Check region size during dirty log creation Heinz Mauelshagen
2008-10-29 13:56 ` Alasdair G Kergon
2008-10-29 15:07 ` Heinz Mauelshagen
2008-10-29 15:43 ` Alasdair G Kergon
2008-10-29 15:53 ` Heinz Mauelshagen [this message]
2008-10-29 20:51 ` Alasdair G Kergon
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=1225295622.1196.12.camel@o \
--to=heinzm@redhat.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.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 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.