On Wed, Jan 16, 2019 at 08:12:16PM +0100, David Sterba wrote:
> > +/**
> > + * btrfs_wait_on_delayed_iputs - wait on the delayed iputs to be done 
> > running
> > + * @fs_info - the fs_info for this fs
> > + * @return - EINTR if we were killed, 0 if nothing's pending
> > + *
> > + * This will wait on any delayed iputs that are currently running with 
> > KILLABLE
> > + * set.  Once they are all done running we will return, unless we are 
> > killed in
> > + * which case we return EINTR.
> 
> I still wonder from which context the 'killable' property is used.
> 
> btrfs_alloc_data_chunk_ondemand is indirectly inside zero range and
> fallocate, there it makes sense. With flush_space is less obvious, so
> this should be explained in the changelog what's expected.

Something along those lines is now in the changelog and patch goes to
misc-next.

Reply via email to