Re: [RFC PATCH 0/2] Introduce blkdev_issue_flush_no_wait()

2017-05-18 Thread Anand Jain
On 05/18/2017 01:14 AM, David Sterba wrote: On Tue, May 16, 2017 at 02:07:23PM +, Bart Van Assche wrote: On Tue, 2017-05-16 at 17:39 +0800, Anand Jain wrote: BTRFS wanted a block device flush function which does not wait for its completion, so that the flush for the next device can be cal

Re: [RFC PATCH 0/2] Introduce blkdev_issue_flush_no_wait()

2017-05-18 Thread Anand Jain
On 05/16/2017 10:07 PM, Bart Van Assche wrote: On Tue, 2017-05-16 at 17:39 +0800, Anand Jain wrote: BTRFS wanted a block device flush function which does not wait for its completion, so that the flush for the next device can be called in the same thread. Here is a RFC patch to provide the fun

Re: [RFC PATCH 0/2] Introduce blkdev_issue_flush_no_wait()

2017-05-17 Thread David Sterba
On Tue, May 16, 2017 at 02:07:23PM +, Bart Van Assche wrote: > On Tue, 2017-05-16 at 17:39 +0800, Anand Jain wrote: > > BTRFS wanted a block device flush function which does not wait for > > its completion, so that the flush for the next device can be called > > in the same thread. > > > > Her

Re: [RFC PATCH 0/2] Introduce blkdev_issue_flush_no_wait()

2017-05-16 Thread Bart Van Assche
On Tue, 2017-05-16 at 17:39 +0800, Anand Jain wrote: > BTRFS wanted a block device flush function which does not wait for > its completion, so that the flush for the next device can be called > in the same thread. > > Here is a RFC patch to provide the function > 'blkdev_issue_flush_no_wait()', wh

[RFC PATCH 0/2] Introduce blkdev_issue_flush_no_wait()

2017-05-16 Thread Anand Jain
BTRFS wanted a block device flush function which does not wait for its completion, so that the flush for the next device can be called in the same thread. Here is a RFC patch to provide the function 'blkdev_issue_flush_no_wait()', which is based on the current device flush function 'blkdev_issue_f