[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C3F2EF4.6020203@kernel.dk>
Date: Thu, 15 Jul 2010 09:53:24 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Christof Schmitt <christof.schmitt@...ibm.com>
CC: "Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [patch 1/1] block: Apply segment size and boundary limits to
integrity data
On 07/15/2010 09:34 AM, Christof Schmitt wrote:
> From: Christof Schmitt <christof.schmitt@...ibm.com>
>
> Apply the conditions used in __blk_recalc_rq_segments also to
> integrity data: Adhere to the maximum segment size and the segment
> boundary set by the driver. Without this change, a driver would
> receive integrity data blocks that do not adhere to the limits set for
> the request queue.
Thanks. The level of duplication there is nasty, particularly for such
intricate code as this that has had bugs in the past in the core.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists