[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53B1D146.1060606@kernel.dk>
Date: Mon, 30 Jun 2014 15:06:14 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Thadeu Lima de Souza Cascardo <cascardo@...ux.vnet.ibm.com>,
pjk1939@...ux.vnet.ibm.com
CC: josh.h.morris@...ibm.com, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] rsxx: fix discard with length smaller than hw blksize
On 2014-06-30 11:31, Thadeu Lima de Souza Cascardo wrote:
> When the discard length is not a multiple of RSXX_HW_BLK_SIZE, the
> discard code will get into an infinite loop, even discarding data it is
> not supposed to. This will also hang the system.
>
> This can be reproduced by doing an ioctl BLKDISCARD to /dev/rsxx0 with
> range from 0 to 1024.
That is a bug that should be fixed in the discard code, not worked
around in the driver.
--
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