Re: [PATCH] x86_64: Work around old gas bug

2012-09-26 Thread Tao Guo
On Wed, Sep 26, 2012 at 9:25 PM, Greg KH wrote: > On Wed, Sep 26, 2012 at 04:28:22AM -0400, Tao Guo wrote: >> gas in binutils(2.16.91) could not parse parentheses within macro >> parameters unless fully parenthesized, and this is a workaround to >> make old gas work wit

[PATCH] x86_64: Work around old gas bug

2012-09-26 Thread Tao Guo
/entry_64.S:393: Error: too many positional arguments arch/x86/kernel/entry_64.S:394: Error: too many positional arguments Signed-off-by: Tao Guo --- arch/x86/include/asm/calling.h | 48 +++ arch/x86/kernel/entry_64.S | 20 2 files changed

Re: [PATCH V2] umem: fix up unplugging

2012-06-14 Thread Tao Guo
Thanks Jens. I can do that for 3.6 kernel. -Tao On Thu, Jun 14, 2012 at 3:18 AM, Jens Axboe wrote: > On Thu, Jun 07 2012, Tao Guo wrote: >> Fix a regression introduced by 7eaceaccab5f40 ("block: remove per-queue >> plugging").  In that patch, Jens removed the whole mm_un

[PATCH V2] umem: fix up unplugging

2012-06-07 Thread Tao Guo
l never be triggered. Signed-off-by: Tao Guo Cc: Neil Brown Cc: Jens Axboe Cc: Shaohua Li Cc: --- drivers/block/umem.c | 40 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/drivers/block/umem.c b/drivers/block/umem.c index aa27120..9a72277 10

Re: [PATCH 2/2] umem: fix up unplugging

2012-06-04 Thread Tao Guo
This patch is to fix a regression introduced by 7eaceaccab5f40 ("block: remove per-queueplugging"). -Tao On Mon, Jun 4, 2012 at 10:41 PM, Tao Guo wrote: > In that patch, Jens removed the whole mm_unplug_device() > function, which used to be the trigger to make umem start to work

[PATCH 2/2] umem: fix up unplugging

2012-06-04 Thread Tao Guo
In that patch, Jens removed the whole mm_unplug_device() function, which used to be the trigger to make umem start to work. We need to implement unplugging to make umem start to work, or I/O will never be triggered. Signed-off-by: Tao Guo Cc: Neil Brown Cc: Jens Axboe Cc: Cc: Andrew Morton

[PATCH 1/2] block: Move general unplug callback function from md/raid to blk-core

2012-06-04 Thread Tao Guo
Other components may also require an unplug callback, so move this function from md/raid to block generic layer. Signed-off-by: Tao Guo Cc: Neil Brown Cc: Jens Axboe Cc: Cc: Andrew Morton Cc: --- block/blk-core.c | 36 - block/blk-settings.c |1