]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: send: remove old TODO regarding ERESTARTSYS
authorDavid Sterba <dsterba@suse.com>
Thu, 2 Jun 2022 13:40:46 +0000 (15:40 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:37 +0000 (17:45 +0200)
commit405c6ae1c2c3009fe25689e466c49c16c597619f
tree10c4349732bb8f73e294129c05878ca7d31aa86f
parent7a9bff3b0c8ff9c509cac0b685c7d76d8eb68fca
btrfs: send: remove old TODO regarding ERESTARTSYS

The whole send operation is restartable and handling properly a buffer
write may not be easy. We can't know what caused that and if a short
delay and retry will fix it or how many retries should be performed in
case it's a temporary condition.

The error value is returned to the ioctl caller so in case it's
transient problem, the user would be notified about the reason. Remove
the TODO note as there's no plan to handle ERESTARTSYS.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c