linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] block: cope with WRITE ZEROES failing in blkdev_issue_zeroout()
@ 2017-10-04 15:03 Ilya Dryomov
  2017-10-04 15:03 ` [PATCH v2 1/2] block: factor out __blkdev_issue_zero_pages() Ilya Dryomov
  2017-10-04 15:03 ` [PATCH v2 2/2] block: cope with WRITE ZEROES failing in blkdev_issue_zeroout() Ilya Dryomov
  0 siblings, 2 replies; 11+ messages in thread
From: Ilya Dryomov @ 2017-10-04 15:03 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Martin K. Petersen, Hannes Reinecke, Jens Axboe, linux-block

Hi Christoph, Martin,

blkdev_issue_zeroout() now checks for any error.  This required a minor
refactor, so I dropped the stable tag, Jens can add it back if needed.

v1 -> v2:
- changed code flow in blkdev_issue_zeroout() according to Christoph's
  suggestion
- this required adding additional checks to blkdev_issue_zeroout() and
  __blkdev_issue_zero_pages(), the latter is no longer void

Previous patch(es) and discussion at

  https://marc.info/?l=linux-block&m=150471953327942&w=2
  https://marc.info/?l=linux-block&m=150601399031909&w=2

Thanks,

                Ilya


Ilya Dryomov (2):
  block: factor out __blkdev_issue_zero_pages()
  block: cope with WRITE ZEROES failing in blkdev_issue_zeroout()

 block/blk-lib.c | 104 ++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 68 insertions(+), 36 deletions(-)

-- 
2.4.3

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-10-16 14:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-04 15:03 [PATCH v2 0/2] block: cope with WRITE ZEROES failing in blkdev_issue_zeroout() Ilya Dryomov
2017-10-04 15:03 ` [PATCH v2 1/2] block: factor out __blkdev_issue_zero_pages() Ilya Dryomov
2017-10-05 17:05   ` Christoph Hellwig
2017-10-04 15:03 ` [PATCH v2 2/2] block: cope with WRITE ZEROES failing in blkdev_issue_zeroout() Ilya Dryomov
2017-10-05 17:13   ` Christoph Hellwig
2017-10-05 19:32     ` Ilya Dryomov
2017-10-06 12:05       ` Christoph Hellwig
2017-10-06 12:31         ` Ilya Dryomov
2017-10-16  8:17           ` Ilya Dryomov
2017-10-16 11:44           ` Christoph Hellwig
2017-10-16 14:03             ` Ilya Dryomov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).