search for: block_size_shift

Displaying 3 results from an estimated 3 matches for "block_size_shift".

2013 Dec 26
0
[PATCH] core: Avoid initializing the cache more than once
...| 1 + core/fs/fs.c | 5 +++-- core/include/fs.h | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/fs/cache.c b/core/fs/cache.c index 3b21fc2..798c622 100644 --- a/core/fs/cache.c +++ b/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 devi...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...fs.h create mode 100644 core/multifs.c diff --git a/core/fs/cache.c b/core/fs/cache.c index 3b21fc2..b8ed8c2 100644 --- a/core/fs/cache.c +++ b/core/fs/cache.c @@ -16,7 +16,7 @@ * implementation since the block(cluster) size in FAT is a bit big. * */ -void cache_init(struct device *dev, int block_size_shift) +__export void cache_init(struct device *dev, int block_size_shift) { struct cache *prev, *cur; char *data = dev->cache_data; diff --git a/core/fs/diskio.c b/core/fs/diskio.c index 7d95d67..466b6a8 100644 --- a/core/fs/diskio.c +++ b/core/fs/diskio.c @@ -21,13 +21,27 @@ void getonebl...
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