All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Ken D'Ambrosio <ken@jots.org>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs/iSCSI/sparse file OOPS.
Date: Thu, 15 Oct 2009 09:06:09 +0200	[thread overview]
Message-ID: <20091015070608.GC9228@kernel.dk> (raw)
In-Reply-To: <83af81d492eb76684573e83bcae78a23.squirrel@webmail.jots.org>

On Tue, Oct 13 2009, Ken D'Ambrosio wrote:
> Hey, all.  I've tried repeatedly to get an 800 GB sparse file on a 1 TB
> btrfs partition to work as an iSCSI target... and I can run fdisk on it
> (and see the iSCSI disk just fine), but when I try to create a partition
> and exit, it OOPSes every time.  Ubuntu, kernel 2.6.31-13-generic is the
> latest I've tried.  Is this a known bug?  I've tried Googling to no avail.
>  If there's anything I can do to help troubleshoot, please let me know.
> 
> Thanks!
> 
> -Ken
> 
> P.S.  FYI, tried the same thing on a reiserfs partition on the same
> system, worked fine.

Looks like that iscsi target relies on having fops->aio_write() there,
which btrfs doesn't have. It's a bug in the iscsi driver.

-- 
Jens Axboe


  parent reply	other threads:[~2009-10-15  7:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-13 16:40 btrfs/iSCSI/sparse file OOPS Ken D'Ambrosio
2009-10-15  6:39 ` Sander
2009-10-15  7:06 ` Jens Axboe [this message]
2009-10-15  8:09 ` Tomasz Chmielewski

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=20091015070608.GC9228@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=ken@jots.org \
    --cc=linux-btrfs@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 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.