Accessing on-disk datastructures from a module

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

 



I would like to maintain some filesystem metadata as an on-disk
datastructure that can be read and written to from within the
filesystem module. I know file access from within the kernel is a bad
idea; what is the recommended alternative for this?

I'm thinking of reserving a bunch of blocks at the start of the
partition and accessing them directly - is this the right approach?
I'm not too sure how to do that either - I figured the way that ext3
maintains its journal would provide a hint, but I can find no
documentation on this, and the code is hard to trace through for this
one specific thing.

martin

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux