public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: Ric Wheeler <rwheeler@redhat.com>
Cc: Alex Tomas <bzzz@sun.com>, Andreas Dilger <adilger@sun.com>,
	linux-ext4@vger.kernel.org
Subject: Re: Potential bug in mballoc --- reusing data blocks before txn commit
Date: Mon, 29 Sep 2008 19:00:31 -0400	[thread overview]
Message-ID: <20080929230031.GK10831@mit.edu> (raw)
In-Reply-To: <48E142C4.7090809@redhat.com>

On Mon, Sep 29, 2008 at 05:04:04PM -0400, Ric Wheeler wrote:
>
> I don't disagree with any of the above, just want to point out that TRIM  
> has a  SCSI T10 cousin that is very similar (used to implement thinly  
> provisioned luns). We should make sure as much as possible to make our  
> file system level support work for both...
>

That's shouldn't be a problem.  David Woodhouse created a standard
block device interface that should be suitable both for ATA and SCSI:

    int blkdev_issue_discard(struct block_device *bdev, sector_t sector,
		         unsigned nr_sects, bio_end_io_t end_io);

							- Ted


  reply	other threads:[~2008-09-29 23:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-28  1:35 Potential bug in mballoc --- reusing data blocks before txn commit Theodore Ts'o
2008-09-29 20:21 ` Alex Tomas
2008-09-29 20:57   ` Theodore Tso
2008-09-29 21:04     ` Ric Wheeler
2008-09-29 23:00       ` Theodore Tso [this message]
2008-09-29 23:05         ` Ric Wheeler
2008-09-30  4:35     ` Alex Tomas
2008-09-30 13:02       ` Theodore Tso
2008-09-30 13:12         ` Alex Tomas
2008-09-30 14:15           ` Theodore Tso
2008-10-01  7:17             ` Andreas Dilger

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=20080929230031.GK10831@mit.edu \
    --to=tytso@mit.edu \
    --cc=adilger@sun.com \
    --cc=bzzz@sun.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=rwheeler@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox