2014-02-14 16:30 GMT+09:00, OGAWA Hirofumi :
> Namjae Jeon writes:
>
[...]
> + /* Release unwritten fallocated blocks on inode eviction. */
> + if (MSDOS_I(inode)->mmu_private < MSDOS_I(inode)->i_disksize) {
> + int err;
> +
2014-02-14 16:30 GMT+09:00, OGAWA Hirofumi hirof...@mail.parknet.co.jp:
Namjae Jeon linkinj...@gmail.com writes:
[...]
+ /* Release unwritten fallocated blocks on inode eviction. */
+ if (MSDOS_I(inode)-mmu_private MSDOS_I(inode)-i_disksize) {
+ int err;
+
Namjae Jeon writes:
>>> [...]
>>>
+ /* Release unwritten fallocated blocks on inode eviction. */
+ if (MSDOS_I(inode)->mmu_private < MSDOS_I(inode)->i_disksize) {
+ int err;
+ fat_truncate_blocks(inode,
>> [...]
>>
>>> + /* Release unwritten fallocated blocks on inode eviction. */
>>> + if (MSDOS_I(inode)->mmu_private < MSDOS_I(inode)->i_disksize) {
>>> + int err;
>>> + fat_truncate_blocks(inode, MSDOS_I(inode)->mmu_private);
>>> +
[...]
+ /* Release unwritten fallocated blocks on inode eviction. */
+ if (MSDOS_I(inode)-mmu_private MSDOS_I(inode)-i_disksize) {
+ int err;
+ fat_truncate_blocks(inode, MSDOS_I(inode)-mmu_private);
+ /* Fallocate
Namjae Jeon linkinj...@gmail.com writes:
[...]
+ /* Release unwritten fallocated blocks on inode eviction. */
+ if (MSDOS_I(inode)-mmu_private MSDOS_I(inode)-i_disksize) {
+ int err;
+ fat_truncate_blocks(inode,
2014-02-03, OGAWA Hirofumi :
>
> Sorry for long delay.
>
> Namjae Jeon writes:
>
>> +if (mode & FALLOC_FL_KEEP_SIZE) {
>> +/* First compute the number of clusters to be allocated */
>> +mm_bytes = offset + len - round_up(MSDOS_I(inode)->mmu_private,
>> +
2014-02-03, OGAWA Hirofumi hirof...@mail.parknet.co.jp:
Sorry for long delay.
Namjae Jeon linkinj...@gmail.com writes:
+if (mode FALLOC_FL_KEEP_SIZE) {
+/* First compute the number of clusters to be allocated */
+mm_bytes = offset + len -
Sorry for long delay.
Namjae Jeon writes:
> + if (mode & FALLOC_FL_KEEP_SIZE) {
> + /* First compute the number of clusters to be allocated */
> + mm_bytes = offset + len - round_up(MSDOS_I(inode)->mmu_private,
> + sbi->cluster_size);
This
Sorry for long delay.
Namjae Jeon linkinj...@gmail.com writes:
+ if (mode FALLOC_FL_KEEP_SIZE) {
+ /* First compute the number of clusters to be allocated */
+ mm_bytes = offset + len - round_up(MSDOS_I(inode)-mmu_private,
+
From: Namjae Jeon
Implement preallocation via the fallocate syscall on VFAT partitions.
This patch is based on an earlier patch of the same name which had some
issues detailed below and did not get accepted.
Refer https://lkml.org/lkml/2007/12/22/130.
a) The preallocated space was not
From: Namjae Jeon namjae.j...@samsung.com
Implement preallocation via the fallocate syscall on VFAT partitions.
This patch is based on an earlier patch of the same name which had some
issues detailed below and did not get accepted.
Refer https://lkml.org/lkml/2007/12/22/130.
a) The preallocated
12 matches
Mail list logo