Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1364557

Re: [PATCH 1/6] block: ensure we don't truncate top bits of the request command flags

From Jens Axboe <axboe@fb.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/6] block: ensure we don't truncate top bits of the request command flags
Date 2016-03-25 05:20 +0100
Message-ID <rgro5-4AD-5@gated-at.bofh.it> (permalink)
References <rfyKZ-88A-3@gated-at.bofh.it> <rfyL0-88A-13@gated-at.bofh.it> <rfzH4-h4-11@gated-at.bofh.it> <rfzQK-Ab-19@gated-at.bofh.it> <rgpmh-391-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/24/2016 08:08 PM, Mike Christie wrote:
> On 03/22/2016 02:01 PM, Jens Axboe wrote:
>> On 03/22/2016 12:59 PM, Christoph Hellwig wrote:
>>> On Tue, Mar 22, 2016 at 11:55:15AM -0600, Jens Axboe wrote:
>>>> Some of the flags that we want to use from the make_request_fn path
>>>> are now larger than 32-bit, so change the functions involved to
>>>> accept an u64 instead of an unsigned int.
>>>
>>> When did we start doing that?  We really should merge Mike's split
>>> of the operation style flags into the cmd_type before making things
>>> even worse in the flags area.
>>
>> Just now, and I ran into it last week as well, for a test patch on cfq
>> that passed in higher flags for get_request -> may_queue() as well. We
>> can do Mike's split first, I think it's a good cleanup. As a standalone
>> series, I needed it though.
>>
>
> Hey, did you want any changes on that patchset? I was going to repost it
> with the kbuild fix against linux-next, but I can make any changes you
> wanted first.

I don't believe I've ever been CC'ed on the posting, or it even being 
posted on the block list? If so, I don't see it... I did become aware of 
it since Christoph CC'ed me in. In general, I think it looks good, at 
least the end results. It's a bit murky in the middle, and the commit 
messages need some help. So go over everything, sanitize it, and repost 
it. I don't like the current pure flag based scheme we have, it's a mess 
of ops and modifiers. So splitting that up is definitely a good thing.

-- 
Jens Axboe

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/6] block: ensure we don't truncate top bits of the request command flags Jens Axboe <axboe@fb.com> - 2016-03-22 19:00 +0100
  Re: [PATCH 1/6] block: ensure we don't truncate top bits of the  request command flags Christoph Hellwig <hch@infradead.org> - 2016-03-22 20:00 +0100
    Re: [PATCH 1/6] block: ensure we don't truncate top bits of the  request command flags Jens Axboe <axboe@fb.com> - 2016-03-22 20:10 +0100
      Re: [PATCH 1/6] block: ensure we don't truncate top bits of the  request command flags Mike Christie <mchristi@redhat.com> - 2016-03-25 03:10 +0100
        Re: [PATCH 1/6] block: ensure we don't truncate top bits of the  request command flags Jens Axboe <axboe@fb.com> - 2016-03-25 05:20 +0100

csiph-web