calling write() from interrupt context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I have a question regarding calling write() from an interrupt context
in the kernel:
is it possible ?

There is an article about reading/writing files from the kernel
by GregKH; see: http://interactive.linuxjournal.com/article/8110

Everybody (including the author) admits that reading/writing files from
the kernel is not recommended at all.
Yet, because of my interest in this, I tried it and it works.
However, when trying write() from interrupt context it will not work
because write() can sleep.

Is there a way to call write() from interrupt context ? some special filesystem
or patch?
I found a dumpfs patch;
but it was not tested yet; moreover, it is a patch against 2.6.8-rc2 and as
it seems it was abandoned.
see
http://lwn.net/Articles/94748/?format=printable

Any ideas?
Regards,


Ian
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux