Hi,
I have a suggestion for 2.5 (and an almost working patch): isn't it
about time to introduce a bdev_t structure that contains all the
information that is scattered over lots of places?
That would be:
struct block_device
struct gendisk
struct sec_size
struct blk_dev_struct
read_ahead
blk_dev_
Hi,
> Because actual _allocation_ unit may have nothing to blocksize and be
> invisible to VFS. Check fatfs - it uses the thing to trigger allocation,
> but actual zero-out goes on per-sector basis.
I tried vfat on a MO drive with 1KByte sectors - it doesn't work. I also
don't know how you want
Hi,
> > While trying to get affs working again, I noticed that the current
> > cont_prepare_write is hardly working, if you write to a file in steps of
> > 1024, the bytes pointer is never updated resulting in an endless loop.
>
> Testcase, please? It certainly seems to be working on FAT and HPF
Hi,
While trying to get affs working again, I noticed that the current
cont_prepare_write is hardly working, if you write to a file in steps of
1024, the bytes pointer is never updated resulting in an endless loop.
Below is a fixed version, that also removes the bogus tricks to the
bytes ptr. I a
Hi,
Instead of all the kernel locks during block allocations, can't we
simply delay the inode truncate operation until the file is closed? All
we need is further inode field i_realsize, that is compared at close
time with i_size. It's also useful for other fs that don't support holes
and we get r
Hi,
> > I ask that in the context of the fs specific functions of
> > read_page/write_page/prepare_write, that simply call a generic function
> > adding a pointer to the get_block function. If the get_block
> > functionality would be integrated into address_space_operations, lots of
> > these ind
Hi,
I know that topic come up before, but I have an idea how preallocation
could be implemented. Basically I want to make the mechanism in ext2
(that is only internally used for file preallocation) generally
available. I think it should be possible to split the get_block
operation into a block al