Displaying 2 results from an estimated 2 matches for "e9a4c1d".
2013 Dec 26
0
[PATCH] core: Avoid initializing the cache more than once
...core/fs/cache.c
@@ -55,6 +55,8 @@ void cache_init(struct device *dev, int block_size_shift)
data += dev->cache_block_size;
prev = cur++;
}
+
+ dev->cache_init = 1; /* Set cache as initialized */
}
/*
diff --git a/core/fs/diskio.c b/core/fs/diskio.c
index 7d95d67..e9a4c1d 100644
--- a/core/fs/diskio.c
+++ b/core/fs/diskio.c
@@ -28,6 +28,7 @@ struct device * device_init(void *args)
dev.disk = firmware->disk_init(args);
dev.cache_size = 128*1024;
dev.cache_data = malloc(dev.cache_size);
+ dev.cache_init = 0; /* Explicitly set cache as uninitialize...
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its
last on-disk structure changes -- and it _suprisingly_ worked as
expected. Right, now I can finally get rid of GRUB and use Syslinux to
boot my Linux on EFI from a rootfs with xfs. Shit, I have two
partitions (the first one being the required ESP) so there is no way to
access the other partitions since because Syslinux does not