nbd: Mark fd handlers client type as "external"
commit172cc129a5ae58d36feb51f97fd67e2161ae5cc6
authorFam Zheng <famz@redhat.com>
Fri, 23 Oct 2015 03:08:06 +0000 (23 11:08 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Oct 2015 16:18:23 +0000 (23 18:18 +0200)
treee11c5556ecd98cc80898d907615fdd133c64a3ad
parentdca21ef23ba48f6f1428c59f295a857e5dc203c8
nbd: Mark fd handlers client type as "external"

So we could distinguish it from internal used fds, thus avoid handling
unwanted events in nested aio polls.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
nbd.c