[pso] [Tema3-Linux] end_request
denisa ghita
pso@cursuri.cs.pub.ro
Fri, 24 Jun 2005 01:08:26 +0300
Salut,
=20
Am o nedumerire.
In functia de tratare a cererilor fac blkdev_dequeue_request(req);
si pun cererea intr-o lista pt kernel_thread.
=20
In kernel thread dupa ce tratez cererea am:
=20
if(!end_that_request_first(req, 1,req->hard_cur_sectors))=20
end_that_request_last(req);
else
elv_requeue_request(info->queue,req);
=20
si nu folosesc struct bio.
Desi,kernel_thread-ul trateaza bine cererea, cand dau
end_that_request_last,primesc de la kernel..unable to handle request.
=20
Nu mi-e clar unde gresesc.
Are cineva vreo idee?
Mersi:)