Re: [PATCH] btrfs-progs: make 'btrfs replace' signal-handling works.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 06, 2014 at 09:17:07AM +0800, Qu Wenruo wrote:
> Current BTRFS_IOC_DEV_REPLACE ioctl is synchronous, and during the ioctl
> program is fallen into kernel and unable to handle signal, the original
> signal function will never be executed until the dev replace is done.
> This is very annoying for someone who wants to stop dev replace by
> Ctrl-c (we have to admit that's the most users will do when replacing
> dev with nodatacow/nodatasum mount option).
> 
> This patch will create a thread to do the ioctl things, making the main
> thread able to handle signal correctly.

As described under the kernel patch, I'd like to use the respective
cancel ioctls instead of signals.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux