From: Andreas Dilger <adilger@sun.com>
To: Ric Wheeler <rwheeler@redhat.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
Will Drewry <redpig@dataspill.org>,
linux-ext4@vger.kernel.org
Subject: Re: [PATCH][RFC] resize2fs and uninit_bg questions
Date: Fri, 18 Sep 2009 07:56:53 -0600 [thread overview]
Message-ID: <20090918135653.GR2537@webber.adilger.int> (raw)
In-Reply-To: <4AB37248.4050309@redhat.com>
On Sep 18, 2009 07:43 -0400, Ric Wheeler wrote:
> On 09/18/2009 02:09 AM, Martin K. Petersen wrote:
>>>>>>> "Ric" == Ric Wheeler<rwheeler@redhat.com> writes:
>>>>>>>
>> Ric> One note - the WRITE_SAME command in SCSI has long been used by
>> Ric> array vendors to do relatively high performance zero fills.
>>
>> I've been working on WRITE SAME and UNMAP support recently (layering on
>> top of Christoph's patch kit). It might be worthwhile to expose the
>> WRITE SAME functionality further up the stack. It could also be helpful
>> for initializing RAID disks, for instance...
>
> Using it to initialize RAID disks is exactly what it is there for - that
> sounds quite useful...
In ext4 we already have a routine ext4_ext_zeroout() that is used to zero
out chunks of disk in order to wipe uninitialized extents when they need
to be put into use. It currently maps ZERO_PAGE() multiple times to avoid
causing cache pressure, but if we could wire it up to some block-level
routine that optimized this it would be even better.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
next prev parent reply other threads:[~2009-09-18 13:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-16 16:24 [PATCH][RFC] resize2fs and uninit_bg questions Will Drewry
2009-09-16 19:08 ` Andreas Dilger
2009-09-16 20:42 ` Will Drewry
2009-09-16 21:22 ` Andreas Dilger
2009-09-16 23:11 ` Will Drewry
2009-09-17 19:28 ` Ric Wheeler
2009-09-18 6:09 ` Martin K. Petersen
2009-09-18 11:43 ` Ric Wheeler
2009-09-18 13:56 ` Andreas Dilger [this message]
2009-09-19 12:19 ` Will Drewry
2009-09-23 9:34 ` Andreas Dilger
2009-09-23 19:28 ` Will Drewry
2009-09-25 6:21 ` 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=20090918135653.GR2537@webber.adilger.int \
--to=adilger@sun.com \
--cc=linux-ext4@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=redpig@dataspill.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 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.