[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAB0TPYHSbjDGRHdvBRf-=WWtLP3T30Hx_hMOOera376DmATQgg@mail.gmail.com>
Date: Fri, 1 May 2020 13:33:11 +0200
From: Martijn Coenen <maco@...roid.com>
To: Ming Lei <ming.lei@...hat.com>
Cc: Jens Axboe <axboe@...nel.dk>, Christoph Hellwig <hch@....de>,
Narayan Kamath <narayan@...gle.com>,
Zimuzo Ezeozue <zezeozue@...gle.com>, kernel-team@...roid.com,
Martijn Coenen <maco@...gle.com>,
Bart Van Assche <bvanassche@....org>,
Chaitanya Kulkarni <Chaitanya.Kulkarni@....com>,
Jaegeuk Kim <jaegeuk@...nel.org>,
linux-block <linux-block@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 01/10] loop: Factor out loop size validation
Hi Ming,
On Wed, Apr 29, 2020 at 4:12 PM Ming Lei <ming.lei@...hat.com> wrote:
> Now sector_t has been switched to u64 unconditionally, do we still need such
> validation?
I think you're right; I hadn't seen that change, but truncating
because of sector_t shouldn't be an issue anymore. I wondered if we
could actually have a smaller loff_t, but looks like that is 'long
long', which should always be 8 bytes as well. I might send this as a
separate patch, I don't want to drag this series on for too long.
Thanks,
Martijn
>
>
> Thanks,
> Ming
>
>
Powered by blists - more mailing lists