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


Groups > linux.kernel > #1317480

Re: [4.5.0-rc1/-next] unaligned bio-s

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [4.5.0-rc1/-next] unaligned bio-s
Date Tue, 26 Jan 2016 03:50:02 +0100
Message-ID <qV1RE-4VC-1@gated-at.bofh.it> (permalink)
References <qV0VB-4hz-19@gated-at.bofh.it>
X-Original-To Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>, linux-block@vger.kernel.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=dCaA4bUsF0Re742guxNrg3BBKYrZDMUZB7d6HVOlI7k=; b=psST0IeVENlX/uKQqug1wsGB+F+LXkF5B+JTomAq6d8dcUh0BhyzzkSQJEKXdWQU+5 zlnv0pLxY5Mb/x2s35Q8uaoV7zePr5kod+sMfxekfZ370a5SK4KXPO5OuRDClEtwfxd7 n4huVzQABFqySOmHp/oBGxTAex0qRQhsYREbwodnQbu3nPZBlQmVN7hWQR32KC0gZ6m6 s6SPnWblpQOv+3MZNQLB7zehS9eb+91MwbQX1i2g0QHWuqzuIWhZ8HzcJvZcyezK0HoP Qs+ewyPuEyKX9RrU3VYUucbkz/GwsvtyqfuZm0hcUMqcRCtbC2qXvZpoBXGyRhgY9MlU RkHQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=dCaA4bUsF0Re742guxNrg3BBKYrZDMUZB7d6HVOlI7k=; b=G+oGG1nSC9Py8Ipeq4Lg55t3WhpC7I2qwJX2NvOfICrlZMYbwTw938OScoINOuPhlC WmfoHRQ2wGhMTOxFBWjRNhpz0rReKyWN3aXKy8pVK52ErJ9or8X5B/eD2vXm5GgInJJW OGNz3FcVp4gmjh9Ov/EwCNvQ1PDKZeb9BNhqU/VkW9uVRfmSHq0xEipWpLvvn++ckFuy VR8mxokWJhARGgHbazkitGaXv2MOr2kZp9Nb0GrZVCPiZByRoeGJYBiSzjU86zYko5mE 6RaMFn7quxj6Vzciet0W0bykwewt6vH4h39wYBZAUr99fN/UrqYQYJb2Y+QNXNZsl5oj 9rAg==
X-Gm-Message-State AG10YOQt/tjFkrlWIrsQn2563MxqRth8xGrytIPc5P6FkT9OFc0B2qvSzUNvYt+fiphWHQ==
X-Received by 10.98.65.9 with SMTP id o9mr30508219pfa.114.1453776337855; Mon, 25 Jan 2016 18:45:37 -0800 (PST)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 16
Organization linux.* mail to news gateway
X-Original-Cc Minchan Kim <minchan@kernel.org>, Andrew Morton <akpm@linux-foundation.org>, Theodore Ts'o <tytso@mit.edu>, linux-kernel@vger.kernel.org, Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
X-Original-Date Mon, 25 Jan 2016 19:45:35 -0700
X-Original-Message-ID <56A6DDCF.3010606@kernel.dk>
X-Original-References <20160126014930.GA515@swordfish>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1317480

Show key headers only | View raw


On 01/25/2016 06:49 PM, Sergey Senozhatsky wrote:
> Hello,
>
> With 4.5.0-rc1/linux-next I see unaligned requests passed to zram block
> device.
>
> bio->bi_iter.bi_size is expected to be ZRAM_LOGICAL_BLOCK_SIZE (1 << 12) aligned.

This is current in my for-linus, if you pull in:

git://git.kernel.dk/linux-block.git for-linus

and re-test. It'll go into mainline soon.

-- 
Jens Axboe

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


Thread

[4.5.0-rc1/-next] unaligned bio-s Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-01-26 02:50 +0100
  Re: [4.5.0-rc1/-next] unaligned bio-s Jens Axboe <axboe@kernel.dk> - 2016-01-26 03:50 +0100
    Re: [4.5.0-rc1/-next] unaligned bio-s Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-01-26 05:00 +0100

csiph-web