Re: asynchronous request procesisng in ram based block dev driver

2009-04-03 Thread sanjeev sharma
GFP_ATOMIC means roughly make the allocation operation atomic. This means that the kernel will try to find the memory using a pile of free memory set aside for urgent allocation. If that pile doesn't have enough free pages, the operation will fail. This flag is useful for allocation within

Re: asynchronous request procesisng in ram based block dev driver

2009-04-02 Thread Lal
On Tue, Mar 31, 2009 at 2:03 PM, nidhi mittal nidhimitta...@gmail.com wrote: hi i have written a very simple ram based block device driver processing request asynchronously wherein in request function -- dequeue the req from req queue and add it to the linked list then in the function

Re: asynchronous request procesisng in ram based block dev driver

2009-04-02 Thread Peter Teoh
On Thu, Apr 2, 2009 at 8:46 AM, Lal learner.ker...@gmail.com wrote: On Tue, Mar 31, 2009 at 2:03 PM, nidhi mittal nidhimitta...@gmail.com wrote: hi i have written a very simple ram based block device driver processing request asynchronously wherein in request function -- dequeue the req

asynchronous request procesisng in ram based block dev driver

2009-03-31 Thread nidhi mittal
hi i have written a very simple ram based block device driver processing request asynchronously wherein in request function -- dequeue the req from req queue and add it to the linked list then in the function triggered by timer handle each req from the linked list then blk_end_requets is called