lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BYAPR04MB4965B7146D107857EDCA9F5986B49@BYAPR04MB4965.namprd04.prod.outlook.com>
Date:   Wed, 3 Feb 2021 03:18:48 +0000
From:   Chaitanya Kulkarni <Chaitanya.Kulkarni@....com>
To:     Ming Lei <ming.lei@...hat.com>, David Jeffery <djeffery@...hat.com>
CC:     "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
        Jens Axboe <axboe@...nel.dk>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Laurence Oberman <loberman@...hat.com>
Subject: Re: [PATCH] block: recalculate segment count for multi-segment
 discard requests correctly

On 2/2/21 18:39, Ming Lei wrote:
> +			struct bio *bio = rq->bio;
> +			for_each_bio(bio)
> +				nr_phys_segs++;
> +			return nr_phys_segs;
> +		}
Also, you need to add a new line after declaration of bio in the above
code block.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ