VFS: Implement REQ_BPEEK.
This commit introduces a new request type called REQ_BPEEK. It requests minor device blocks from the FS. Analogously to REQ_PEEK, it requests the filesystem to get the requested blocks into its cache, without actually copying the result anywhere. Change-Id: If1d06645b0e17553a64b3167091e9d12efeb3d6f
This commit is contained in:
@@ -117,8 +117,9 @@ typedef struct {
|
||||
#define REQ_GETDENTS (VFS_BASE + 31)
|
||||
#define REQ_STATVFS (VFS_BASE + 32)
|
||||
#define REQ_PEEK (VFS_BASE + 33)
|
||||
#define REQ_BPEEK (VFS_BASE + 34)
|
||||
|
||||
#define NREQS 34
|
||||
#define NREQS 35
|
||||
|
||||
#define IS_VFS_RQ(type) (((type) & ~0xff) == VFS_BASE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user