Re: [PATCH V2] writeback: merge try_to_writeback_inodes_sb_nr() into caller

2017-10-10 Thread Jens Axboe
On 10/10/2017 03:43 AM, Rakesh Pandit wrote: > Hi Jens, > > On Mon, Oct 09, 2017 at 02:00:29PM +0200, Jan Kara wrote: >> On Mon 09-10-17 13:34:41, Rakesh Pandit wrote: >>> Since commit 925a6efb8ff0c ("Btrfs: stop using >>> try_to_writeback_inodes_sb_nr to flush delalloc") this function hasn't >>>

Re: [PATCH V2] writeback: merge try_to_writeback_inodes_sb_nr() into caller

2017-10-10 Thread Rakesh Pandit
Hi Jens, On Mon, Oct 09, 2017 at 02:00:29PM +0200, Jan Kara wrote: > On Mon 09-10-17 13:34:41, Rakesh Pandit wrote: > > Since commit 925a6efb8ff0c ("Btrfs: stop using > > try_to_writeback_inodes_sb_nr to flush delalloc") this function hasn't > > been used outside so stop exporting it. > > > > In

Re: [PATCH V2] writeback: merge try_to_writeback_inodes_sb_nr() into caller

2017-10-09 Thread Jan Kara
On Mon 09-10-17 13:34:41, Rakesh Pandit wrote: > Since commit 925a6efb8ff0c ("Btrfs: stop using > try_to_writeback_inodes_sb_nr to flush delalloc") this function hasn't > been used outside so stop exporting it. > > In addition we merge it into try_to_writeback_inodes_sb() which is the > only calle