Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1288736
| Path | csiph.com!goblin1!goblin.stu.neva.ru!takemy.news.telefonica.de!storethat.news.telefonica.de!telefonica.de!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | "Martin K. Petersen" <martin.petersen@oracle.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 2/2] block: create ioctl to discard-or-zeroout a range of blocks |
| Date | Thu, 10 Dec 2015 18:40:04 +0100 |
| Message-ID | <qEdmc-OR-69@gated-at.bofh.it> (permalink) |
| References | <qDjWG-76S-7@gated-at.bofh.it> <qDjWG-76S-5@gated-at.bofh.it> |
| X-Original-To | "Darrick J. Wong" <darrick.wong@oracle.com> |
| Organization | Oracle Corporation |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Source-IP | userv0022.oracle.com [156.151.31.74] |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 22 |
| X-Original-Cc | axboe@kernel.dk, hch@infradead.org, martin.petersen@oracle.com, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, shane.seymour@hpe.com, bfields@fieldses.org, linux-fsdevel@vger.kernel.org, jlayton@poochiereds.net |
| X-Original-Date | Thu, 10 Dec 2015 12:38:18 -0500 |
| X-Original-Message-ID | <yq1y4d22ohh.fsf@sermon.lab.mkp.net> |
| X-Original-References | <20151208062104.21427.91134.stgit@birch.djwong.org> <20151208062111.21427.30921.stgit@birch.djwong.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1288736 |
Show key headers only | View raw
>>>>> "Darrick" == Darrick J Wong <darrick.wong@oracle.com> writes:
Darrick> Create a new ioctl to expose the block layer's newfound ability
Darrick> to issue either a zeroing discard, a WRITE SAME with a zero
Darrick> page, or a regular write with the zero page. This BLKZEROOUT2
Darrick> ioctl takes {start, length, flags} as parameters. So far, the
Darrick> only flag available is to enable the zeroing discard part --
Darrick> without it, the call invokes the old BLKZEROOUT behavior.
Darrick> start and length have the same meaning as in BLKZEROOUT.
Darrick> This new ioctl also invalidates the page cache correctly on
Darrick> account of the previous patch in the series.
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v5 1/2] block: invalidate the page cache when issuing BLKZEROOUT. "Darrick J. Wong" <darrick.wong@oracle.com> - 2015-12-08 07:30 +0100
[PATCH v5 2/2] block: create ioctl to discard-or-zeroout a range of blocks "Darrick J. Wong" <darrick.wong@oracle.com> - 2015-12-08 07:30 +0100
Re: [PATCH v5 2/2] block: create ioctl to discard-or-zeroout a range of blocks "Martin K. Petersen" <martin.petersen@oracle.com> - 2015-12-10 18:40 +0100
Re: [PATCH v5 1/2] block: invalidate the page cache when issuing BLKZEROOUT. "Martin K. Petersen" <martin.petersen@oracle.com> - 2015-12-10 18:40 +0100
csiph-web