tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] PUFFS backend allocation (round 3)
J. Hannken-Illjes <hannken%eis.cs.tu-bs.de@localhost> wrote:
> What happens when libpuffs receives an unknown message (fallocate in
> this case)?
The filesystem using libpuffs tells the kernel what operations should be
sent to userland when it calls puffs_init(). It can be done
- by setting the list of wanted operation, in which case the kernel
never sends an unknown message,
- by requesting all operations to be sent to userland. In that case an
unknown operation is handled in src/lib/libpuffs/dispatcher.c:dispatch()
default:
printf("inval op %d\n", preq->preq_optype);
error = EINVAL;
break;
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index