public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Sidney Amani <seed@uffs.org>
Cc: Corentin Chary <corentincj@iksaif.net>, linux-mtd@lists.infradead.org
Subject: Re: [PATCH] UBI: ioctl instead of CONFIG_MTD_UBI_DEBUG_USERSPACE_IO
Date: Tue, 27 Jan 2009 15:06:59 +0200	[thread overview]
Message-ID: <1233061619.7085.14.camel@localhost.localdomain> (raw)
In-Reply-To: <1233047506-30435-1-git-send-email-seed@uffs.org>

On Tue, 2009-01-27 at 10:11 +0100, Sidney Amani wrote:
> Introduce a new ioctl UBI_IOCSETPROP to set properties
> on a volume. Also add the first property:
> UBI_PROP_DIRECT_WRITE, this property is used to set the
> ability to use direct writes in userspace
> 
> Signed-off-by: Sidney Amani <seed@uffs.org>
> Signed-off-by: Corentin Chary <corentincj@iksaif.net>

But I have to warn you, that now you are responsible for writing
eraseblocks properly:

1. Sequentially, from the beginning to the end.
2. Writes have to be aligned to min I/O unit size
3. You cannot write more than once to the same place

Be careful.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

  parent reply	other threads:[~2009-01-27 13:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27  9:11 [PATCH] UBI: ioctl instead of CONFIG_MTD_UBI_DEBUG_USERSPACE_IO Sidney Amani
2009-01-27 12:59 ` Artem Bityutskiy
2009-01-27 13:06 ` Artem Bityutskiy [this message]
2009-01-27 14:18   ` Corentin Chary
2009-01-30  7:40 ` Artem Bityutskiy

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=1233061619.7085.14.camel@localhost.localdomain \
    --to=dedekind@infradead.org \
    --cc=corentincj@iksaif.net \
    --cc=linux-mtd@lists.infradead.org \
    --cc=seed@uffs.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