Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 208271 Details for
Bug 308671
Remove unused arg of drive_stat_acct
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Remove unused arg of drive_stat_acct() function
fix_drive_stat_acct_unused_arg.patch (text/x-patch), 2.05 KB, created by
Jerome Marchand
on 2007-09-27 11:34:31 UTC
(
hide
)
Description:
Remove unused arg of drive_stat_acct() function
Filename:
MIME Type:
Creator:
Jerome Marchand
Created:
2007-09-27 11:34:31 UTC
Size:
2.05 KB
patch
obsolete
>--- linux-2.6.18.noarch/block/ll_rw_blk.c.orig 2007-09-27 11:47:43.000000000 +0200 >+++ linux-2.6.18.noarch/block/ll_rw_blk.c 2007-09-27 11:47:55.000000000 +0200 >@@ -36,7 +36,7 @@ > > static void blk_unplug_work(void *data); > static void blk_unplug_timeout(unsigned long data); >-static void drive_stat_acct(struct request *rq, int nr_sectors, int new_io); >+static void drive_stat_acct(struct request *rq, int new_io); > static void init_request_from_bio(struct request *req, struct bio *bio); > static int __make_request(request_queue_t *q, struct bio *bio); > >@@ -2369,7 +2369,7 @@ void blk_insert_request(request_queue_t > if (blk_rq_tagged(rq)) > blk_queue_end_tag(q, rq); > >- drive_stat_acct(rq, rq->nr_sectors, 1); >+ drive_stat_acct(rq, 1); > __elv_add_request(q, rq, where, 0); > > if (blk_queue_plugged(q)) >@@ -2645,7 +2645,7 @@ int blkdev_issue_flush(struct block_devi > > EXPORT_SYMBOL(blkdev_issue_flush); > >-static void drive_stat_acct(struct request *rq, int nr_sectors, int new_io) >+static void drive_stat_acct(struct request *rq, int new_io) > { > int rw = rq_data_dir(rq); > >@@ -2667,7 +2667,7 @@ static void drive_stat_acct(struct reque > */ > static inline void add_request(request_queue_t * q, struct request * req) > { >- drive_stat_acct(req, req->nr_sectors, 1); >+ drive_stat_acct(req, 1); > > if (q->activity_fn) > q->activity_fn(q->activity_data, rq_data_dir(req)); >@@ -2964,7 +2964,7 @@ static int __make_request(request_queue_ > req->biotail = bio; > req->nr_sectors = req->hard_nr_sectors += nr_sectors; > req->ioprio = ioprio_best(req->ioprio, prio); >- drive_stat_acct(req, nr_sectors, 0); >+ drive_stat_acct(req, 0); > if (!attempt_back_merge(q, req)) > elv_merged_request(q, req); > goto out; >@@ -2991,7 +2991,7 @@ static int __make_request(request_queue_ > req->sector = req->hard_sector = sector; > req->nr_sectors = req->hard_nr_sectors += nr_sectors; > req->ioprio = ioprio_best(req->ioprio, prio); >- drive_stat_acct(req, nr_sectors, 0); >+ drive_stat_acct(req, 0); > if (!attempt_front_merge(q, req)) > elv_merged_request(q, req); > goto out;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 308671
: 208271