--1430322656-1514984572-1011606626=:13727
Content-Type: text/plain; charset=us-ascii
Failed to attached the patch.
Andre Hedrick
Linux Disk Certification Project Linux ATA Development
---------- Forwarded message ----------
Date: Mon, 21 Jan 2002 01:48:10 -0800 (PST)
From: Andre Hedrick <andre@linuxdiskcert.org>
To: Jens Axboe <axboe@suse.de>
Cc: Davide Libenzi <davidel@xmailserver.org>,
Anton Altaparmakov <aia21@cam.ac.uk>,
Linus Torvalds <torvalds@transmeta.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.5.3-pre1-aia1
On Mon, 21 Jan 2002, Jens Axboe wrote:
> On Mon, Jan 21 2002, Andre Hedrick wrote:
> > > This really sucks, it means we cannot safely use multi mode for a
> > > variety of request sizes. I agree with your earlier comment. Here's what
> > > I think we should be doing: when requesting multi mode, limit to 8
> > > sectors like in your patch. This is by far the most commen multiple,
> > > that's why. When starting a request, use WIN_MULT* only for cases where
> > > (rq->nr_sectors % drive->mult_count) == 0. If that doesn't hold, simply
> > > use WIN_READ or WIN_WRITE.
> > >
> > > Applied the 2.5.3-pre2 sched SMP fix, booting -pre2 and then hacking up
> > > a patch.
> >
> > Why I have already done it, just take and apply.
>
> Cool, where is it?
Attached, and please do not pick and choose.
I moved and added things for a reason as not to loose hard work, because
of writing the ISR's to the purity of the spec, and then we modify ISR's
to fit the kernel and not the other way around. I do have a just reason
to request a MEMPOOL, which would be exclusively used for PIO operations.
Then we get out of the mess we are in and get in to serious compliance to
how the hardware works.
Thus in the offline comments about the creation of an ata_request_struct,
a mempool allocation for PIO is justified. Since the correct solution of
DMA timeouts is to void the request and assume no data down is valid.
Thus PIO is next.
If we look at the overhead in the generation of a new request for each and
every time we do a PIO transfer it is scary. Think about this issue for
more than the time it takes to hit the delete key.
Respectfully,
Andre Hedrick
Linux Disk Certification Project Linux ATA Development
--1430322656-1514984572-1011606626=:13727
Content-Type: text/plain; charset=us-ascii; name="acb-io-2.5.3-p2.01212002.patch"
Content-Transfer-Encoding: base64
Content-ID: <Pine.LNX.4.10.10201210150260.13727@master.linux-ide.org>
Content-Description:
Content-Disposition: attachment; filename="acb-io-2.5.3-p2.01212002.patch"
ZGlmZiAtdXJOIGxpbnV4LTIuNS4zLXAyLXByaXN0aW5lL2RyaXZlcnMvaWRl
L2NtZDY0eC5jIGxpbnV4LTIuNS4zLXAyL2RyaXZlcnMvaWRlL2NtZDY0eC5j
DQotLS0gbGludXgtMi41LjMtcDItcHJpc3RpbmUvZHJpdmVycy9pZGUvY21k
NjR4LmMJU3VuIEphbiAyMCAwMDoyNTo0NCAyMDAyDQorKysgbGludXgtMi41
LjMtcDIvZHJpdmVycy9pZGUvY21kNjR4LmMJU3VuIEphbiAyMCAwMTowMDo1
NSAyMDAyDQpAQCAtNTM4LDYgKzUzOCwxMSBAQA0KIAlpZiAoKHNwZWVkID09
IFhGRVJfVURNQV82KSAmJiAoc2NzYyAmIDB4MzApID09IDB4MDApIHsNCiAJ
CXBjaV93cml0ZV9jb25maWdfYnl0ZShkZXYsIDB4OEEsIHNjc2N8MHgwMSk7
DQogCQlwY2lfcmVhZF9jb25maWdfYnl0ZShkZXYsIDB4OEEsICZzY3NjKTsN
CisjaWYgMA0KKwkJLyogaWYgMTMzIGNsb2NrIGZhaWxzLCBzd2l0Y2ggdG8g
MnhidXMgY2xvY2sgKi8NCisJCWlmICghKHNjc2MgJiAweDAxKSkNCisJCQlw
Y2lfd3JpdGVfY29uZmlnX2J5dGUoZGV2LCAweDhBLCBzY3NjfDB4MTApOw0K
KyNlbmRpZg0KIAl9DQogDQogCXN3aXRjaChzcGVlZCkgew0KQEAgLTk3NSw2
ICs5ODAsMTMgQEANCiAJcGNpX3dyaXRlX2NvbmZpZ19ieXRlKGRldiwgMHg4
NCwgMHgwMCk7DQogCXBjaV9yZWFkX2NvbmZpZ19ieXRlKGRldiwgMHg4QSwg
JnRtcGJ5dGUpOw0KIAlwY2lfd3JpdGVfY29uZmlnX2J5dGUoZGV2LCAweDhB
LCB0bXBieXRlfDB4M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YXRhcGlfaW5wdXRfYnl0ZXMg
KGlkZV9kcml2ZV90ICpkcml2ZSwgdm9pZCAqYnVmZmVyLCB1bnNpZ25lZCBp
bnQgYnl0ZWNvdW50KTsNCiB2b2lkIGF0YXBpX291dHB1dF9ieXRlcyAoaWRl
X2RyaXZlX3QgKmRyaXZlLCB2b2lkICpidWZmZXIsIHVuc2lnbmVkIGludCBi
eXRlY291bnQpOw0KIHZvaWQgdGFza2ZpbGVfaW5wdXRfZGF0YSAoaWRlX2Ry
aXZlX3QgKmRyaXZlLCB2b2lkICpidWZmZXIsIHVuc2lnbmVkIGludCB3Y291
bnQpOw0KIHZvaWQgdGFza2ZpbGVfb3V0cHV0X2RhdGEgKGlkZV9kcml2ZV90
ICpkcml2ZSwgdm9pZCAqYnVmZmVyLCB1bnNpZ25lZCBpbnQgd2NvdW50KTsN
CisNCitpbnQgZHJpdmVfaXNfcmVhZHkgKGlkZV9kcml2ZV90ICpkcml2ZSk7
DQoraW50IHdhaXRfZm9yX3JlYWR5IChpZGVfZHJpdmVfdCAqZHJpdmUsIGlu
dCB0aW1lb3V0KTsNCiANCiAvKg0KICAqIHRhc2tmaWxlIGlvIGZvciBkaXNr
cyBmb3Igbm93Li4uDQo=
--1430322656-1514984572-1011606626=:13727--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/