So jffs2_do_clear_inode() could mark all flash nodes used by
the inode as obsolete and GC procedure will reclaim these
flash nodes, else these flash spaces will not be reclaimable
forever.
Cc: sta...@vger.kernel.org
Signed-off-by: Hou Tao
---
fs/jffs2/dir.c | 28
1
3.16.60-rc1 review patch. If anyone has any objections, please let me know.
--
From: Chris Mason
commit b0d5d10f41a0f1cd839408dd94427f2db3553bca upstream.
Btrfs was inserting inodes into the hash table before we had fully
set the inode up on disk. This leaves us open to rare
3.16.60-rc1 review patch. If anyone has any objections, please let me know.
--
From: Chris Mason
commit b0d5d10f41a0f1cd839408dd94427f2db3553bca upstream.
Btrfs was inserting inodes into the hash table before we had fully
set the inode up on disk. This leaves us open to rare
uota */
int i_inline_xattr_size;/* inline xattr size */
+ struct timespec i_crtime; /* inode creation time */
};
static inline void get_extent_info(struct extent_info *ext,
@@ -3205,6 +3207,11 @@ static inline int f2fs_sb_has_quota_ino(struct
super_block *sb)
return
ne_xattr_size;/* inline xattr size */
+ struct timespec i_crtime; /* inode creation time */
};
static inline void get_extent_info(struct extent_info *ext,
@@ -3205,6 +3207,11 @@ static inline int f2fs_sb_has_quota_ino(struct
super_block *sb)
return F2FS_HAS_FEATURE(sb, F2FS_FEAT
t;>> #define F2FS_HAS_FEATURE(sb, mask) \
>>> ((F2FS_SB(sb)->raw_super->feature & cpu_to_le32(mask)) != 0)
>>> @@ -635,6 +636,7 @@ struct f2fs_inode_info {
>>> int i_extra_isize; /* size of extra
URE(sb, mask) \
>>> ((F2FS_SB(sb)->raw_super->feature & cpu_to_le32(mask)) != 0)
>>> @@ -635,6 +636,7 @@ struct f2fs_inode_info {
>>> int i_extra_isize; /* size of extra space located in
>>> i_addr */
>>
, mask) \
>> ((F2FS_SB(sb)->raw_super->feature & cpu_to_le32(mask)) != 0)
>> @@ -635,6 +636,7 @@ struct f2fs_inode_info {
>> int i_extra_isize; /* size of extra space located in
>> i_addr */
>>
t; ((F2FS_SB(sb)->raw_super->feature & cpu_to_le32(mask)) != 0)
>> @@ -635,6 +636,7 @@ struct f2fs_inode_info {
>> int i_extra_isize; /* size of extra space located in
>> i_addr */
>> kprojid_t i_projid; /* id for project quota */
>
\
> ((F2FS_SB(sb)->raw_super->feature & cpu_to_le32(mask)) != 0)
> @@ -635,6 +636,7 @@ struct f2fs_inode_info {
> int i_extra_isize; /* size of extra space located in
> i_addr */
> kprojid_t i_projid; /* id for proje
gt;raw_super->feature & cpu_to_le32(mask)) != 0)
> @@ -635,6 +636,7 @@ struct f2fs_inode_info {
> int i_extra_isize; /* size of extra space located in
> i_addr */
> kprojid_t i_projid; /* id for project quota */
> int i_inline_xattr_size;
/* id for project quota */
int i_inline_xattr_size;/* inline xattr size */
+ struct timespec i_crtime; /* inode creation time */
};
static inline void get_extent_info(struct extent_info *ext,
@@ -3205,6 +3207,11 @@ static inline int f2fs_sb_has_quota_in
ne_xattr_size;/* inline xattr size */
+ struct timespec i_crtime; /* inode creation time */
};
static inline void get_extent_info(struct extent_info *ext,
@@ -3205,6 +3207,11 @@ static inline int f2fs_sb_has_quota_ino(struct
super_block *sb)
return F2FS_H
This patch supports inode_crtime feature to enable recording inode
creation time in inode layout.
Signed-off-by: Chao Yu <yuch...@huawei.com>
---
fsck/mount.c| 7 +++
include/f2fs_fs.h | 3 +++
mkfs/f2fs_format.c | 5 +
mkfs/f2fs_format_main.c | 7 +++
4
This patch supports inode_crtime feature to enable recording inode
creation time in inode layout.
Signed-off-by: Chao Yu
---
fsck/mount.c| 7 +++
include/f2fs_fs.h | 3 +++
mkfs/f2fs_format.c | 5 +
mkfs/f2fs_format_main.c | 7 +++
4 files changed, 22
* inline xattr size */
+ struct timespec i_crtime; /* inode creation time */
};
static inline void get_extent_info(struct extent_info *ext,
@@ -3206,6 +3208,11 @@ static inline int f2fs_sb_has_quota_ino(struct
super_block *sb)
return F2FS_HAS_FEATURE(sb, F2FS_FEATURE_QUOTA_INO);
struct timespec i_crtime; /* inode creation time */
};
static inline void get_extent_info(struct extent_info *ext,
@@ -3206,6 +3208,11 @@ static inline int f2fs_sb_has_quota_ino(struct
super_block *sb)
return F2FS_HAS_FEATURE(sb, F2FS_FEATURE_QUOTA_INO);
}
+stat
This patch cleans up the inode creation code path in GFS2. After the
Orlov allocator was merged, a number of potential improvements are
now possible, and this is a first set of these.
The quota handling is now updated so that it matches the point in
the code where the allocation takes place
The original method for creating inodes used in GFS2 was to fill
out a buffer, with all the information, and then to read that
buffer into the in-core inode, using gfs2_refresh_inode()
The problem with this approach is that all the inode's fields
need to be calculated ahead of time, and were
The original method for creating inodes used in GFS2 was to fill
out a buffer, with all the information, and then to read that
buffer into the in-core inode, using gfs2_refresh_inode()
The problem with this approach is that all the inode's fields
need to be calculated ahead of time, and were
This patch cleans up the inode creation code path in GFS2. After the
Orlov allocator was merged, a number of potential improvements are
now possible, and this is a first set of these.
The quota handling is now updated so that it matches the point in
the code where the allocation takes place
>From 28626e2078571c4b776a17eaa486bbd2b7dfe2cd Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[EMAIL PROTECTED]>
Date: Wed, 22 Nov 2006 11:13:21 -0500
Subject: [PATCH] [GFS2] Fix glock ordering on inode creation
The lock order here should be parent -> child rather than
numeric or
From 28626e2078571c4b776a17eaa486bbd2b7dfe2cd Mon Sep 17 00:00:00 2001
From: Steven Whitehouse [EMAIL PROTECTED]
Date: Wed, 22 Nov 2006 11:13:21 -0500
Subject: [PATCH] [GFS2] Fix glock ordering on inode creation
The lock order here should be parent - child rather than
numeric order.
Signed-off
reiserfs_new_inode() can call iput() with the xattr lock held. This will
cause a deadlock to occur when reiserfs_delete_xattrs() is called to
clean up.
The following patch releases the lock and reacquires it after the iput. This
is safe because interaction with xattrs is complete, and the
reiserfs_new_inode() can call iput() with the xattr lock held. This will
cause a deadlock to occur when reiserfs_delete_xattrs() is called to
clean up.
The following patch releases the lock and reacquires it after the iput. This
is safe because interaction with xattrs is complete, and the
Hi all
Thanks for the replies regarding inodes. From the replies I
understood that inode numbers are assigned at the time of accessing in the
case of msdos and nfs files. And it may change during running if it is not
being accessed.
Now the question is who is
Hi all
Thanks for the replies regarding inodes. From the replies I
understood that inode numbers are assigned at the time of accessing in the
case of msdos and nfs files. And it may change during running if it is not
being accessed.
Now the question is who is
27 matches
Mail list logo