[pso] [Tema3 Linux] ioctl
Florin Antonescu
florinantonescu at yahoo.com
Wed Apr 23 17:09:17 EEST 2008
Am observat ca la executia lfunctiei ioctl(fd, SSR_IOCTL_SYNC, 0) din userspace, imi da Kernel Panic.
Eu am implementat ioctl astfel: apelez sync_blockdev pentru i->b_dev si cele doua block_device-uri (hdb1 si hdb2) apoi apelez invalidate_bdev pentru cele trei block_device-uri de mai inainte. Cam asa am dedus din lista de discutii.
Ce e gresit in implementarea asta?
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20080423/5f0c315e/attachment.htm
More information about the pso
mailing list