[PATCH v2] block: Drop dead function blk_abort_queue()

2012-06-12 Thread Asias He
. Cc: Jens Axboe Cc: linux-ker...@vger.kernel.org Cc: Chris Mason Cc: linux-btrfs@vger.kernel.org Cc: David Sterba Signed-off-by: Asias He --- block/blk-timeout.c| 41 - include/linux/blkdev.h |1 - 2 files changed, 42 deletions(-) diff --git a/

Re: [PATCH 1/2] btrfs: Drop unused function btrfs_abort_devices()

2012-06-06 Thread Asias He
On 06/06/2012 05:24 PM, David Sterba wrote: On Wed, Jun 06, 2012 at 10:17:28AM +0800, Asias He wrote: Hello, Jeff This was added in 49b25e0540904be0bf558b84475c69d72e4de66e adding a transaction abort infrastructure. I'm not sure if Jeff had some intentions with it or whether it got obs

Re: [PATCH 1/2] btrfs: Drop unused function btrfs_abort_devices()

2012-06-05 Thread Asias He
Hello, Jeff On 05/28/2012 09:41 PM, David Sterba wrote: On Fri, May 25, 2012 at 11:10:21AM +0800, Asias He wrote: 1) This function is not used anywhere. This was added in 49b25e0540904be0bf558b84475c69d72e4de66e adding a transaction abort infrastructure. I'm not sure if Jeff had

[PATCH 2/2] block: Drop dead function blk_abort_queue()

2012-05-24 Thread Asias He
l.org Signed-off-by: Asias He --- block/blk-timeout.c| 41 - include/linux/blkdev.h |1 - 2 files changed, 42 deletions(-) diff --git a/block/blk-timeout.c b/block/blk-timeout.c index 7803548..6e4744c 100644 --- a/block/blk-timeout.c +++ b/bloc

[PATCH 1/2] btrfs: Drop unused function btrfs_abort_devices()

2012-05-24 Thread Asias He
1) This function is not used anywhere. 2) Using the blk_abort_queue() to abort the queue seems not correct. blk_abort_queue() is used for timeout handling (block/blk-timeout.c). Cc: Chris Mason Cc: linux-btrfs@vger.kernel.org Cc: Jens Axboe Cc: linux-ker...@vger.kernel.org Signed-off-by: Asias