#compdef ifpps # # ifpps.zsh -- zsh completion function for ifpps # # Copyright (C) 2013 Hideo Hattori # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. typeset -A opt_args _interfaces () { _wanted interfaces expl 'network interface' \ _net_interfaces _values "Pseudo-device that captures on all interfaces" "any" } _arguments -s -S \ "(-d --dev)"{-d,--dev}"[Device to fetch statistics for i.e., eth0]:device:_interfaces" \ "(-p --promisc)"{-p,--promisc}"[Promiscuous mode]" \ "(-t --interval)"{-t,--interval}"[Refresh time in sec (default 1 s)]:interval:_gnu_generic" \ "(-n --num-cpus)"{-n,--num-cpus}"[Number of top hitter CPUs to display in ncurses mode (default 10)]" \ "(-C --csv)"{-C,--csv}"[Output to terminal as CSV E.g. post-processing with Gnuplot et al.]" \ "(-l --loop)"{-l,--loop}"[Loop terminal output]" \ {-v,--version}"[Print version]:" \ {-h,--help}"[Print this help]:" \ "*::args:_gnu_generic" alue='master'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2016-06-06 11:51:25 +0100
committerFilipe Manana <fdmanana@suse.com>2016-08-01 07:32:03 +0100
commit67710892ec983aa79ad1e2a2642fe8e3a4a194ea (patch)
tree251f0feaddfbbf6e98690943d470972d7b37c3d6
parent951555856b88aa47bc238de6b4c6e97bfd9d36df (diff)
Btrfs: be more precise on errors when getting an inode from disk
When we attempt to read an inode from disk, we end up always returning an -ESTALE error to the caller regardless of the actual failure reason, which can be an out of memory problem (when allocating a path), some error found when reading from the fs/subvolume btree (like a genuine IO error) or the inode does not exists. So lets start returning the real error code to the callers so that they don't treat all -ESTALE errors as meaning that the inode does not exists (such as during orphan cleanup). This will also be needed for a subsequent patch in the same series dealing with a special fsync case. Signed-off-by: Filipe Manana <fdmanana@suse.com>