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: <x49k2moeaaf.fsf@segfault.boston.devel.redhat.com>
Date:	Mon, 01 Feb 2016 10:10:32 -0500
From:	Jeff Moyer <jmoyer@...hat.com>
To:	Tahsin Erdogan <tahsin@...gle.com>
Cc:	Jens Axboe <axboe@...nel.dk>,
	Aaron Carroll <aaronc@...ato.unsw.edu.au>,
	linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] deadline: remove unused struct member

Tahsin Erdogan <tahsin@...gle.com> writes:

> Ping?

Yeah, commit 63de428b139d3 (deadline-iosched: allow non-sequential
batching) removed the use of last_sector, and should have removed the
structure member as well (way back in 2008).

Reviewed-by: Jeff Moyer <jmoyer@...hat.com>


> On Thu, Jan 14, 2016 at 2:41 PM, Tahsin Erdogan <tahsin@...gle.com> wrote:
>> commit 63de428b139d3d31d86ebe25ae97b33f6540fb7e ("deadline-iosched:
>> allow non-sequential batching") removed last use of last_sector.
>>
>> Signed-off-by: Tahsin Erdogan <tahsin@...gle.com>
>> ---
>>  block/deadline-iosched.c | 3 ---
>>  1 file changed, 3 deletions(-)
>>
>> diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c
>> index a753df2..d0dd788 100644
>> --- a/block/deadline-iosched.c
>> +++ b/block/deadline-iosched.c
>> @@ -39,7 +39,6 @@ struct deadline_data {
>>          */
>>         struct request *next_rq[2];
>>         unsigned int batching;          /* number of sequential requests made */
>> -       sector_t last_sector;           /* head position */
>>         unsigned int starved;           /* times reads have starved writes */
>>
>>         /*
>> @@ -210,8 +209,6 @@ deadline_move_request(struct deadline_data *dd, struct request *rq)
>>         dd->next_rq[WRITE] = NULL;
>>         dd->next_rq[data_dir] = deadline_latter_request(rq);
>>
>> -       dd->last_sector = rq_end_sector(rq);
>> -
>>         /*
>>          * take it off the sort and fifo list, move
>>          * to dispatch queue
>> --
>> 2.6.0.rc2.230.g3dd15c0
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-block" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ