Messages in this thread | | | Date | Tue, 27 Aug 2002 10:06:50 -0600 (MDT) | From | Thunder from the hill <> | Subject | Re: block device/VM question |
| |
Hi,
On Tue, 27 Aug 2002, Peter T. Breuer wrote: > Is there any way of turning off VMS caching for a block device? > > I want all reads to come down to the driver, where I decide what to do > about them. I don't want reads to read locally cached buffers in VMS > unless I say so. The reason is that the device might have a remote > writer. > > I'll have a look at the raw character device later (but I recall > having looked before without it telling me anything - probably > they make a fake request and transfer it to the device queue > directly and treat the return with their own substituted end_req). > I need a block device - I can't mount a character device. Now > there's an idea! A mouse represented as a file system ..
O_DIRECT, or easily set the buffer to zero...
Thunder -- --./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .- --/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..- .- -/---/--/---/.-./.-./---/.--/.-.-.- --./.-/-.../.-./.././.-../.-.-.-
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |