25 Apr, 2007
1 commit
-
This mirrors Jan Kara's patches for ext3. This patch makes sure that
changes made to inode->i_flags are reflected on disk for jfs. It also
moves a call of jfs_set_inode_flags() to be more consistent with where
jfs_get_inode_flags() is called.Signed-off-by: Dave Kleikamp
10 Jan, 2007
1 commit
-
Yeah, it's about time.
Signed-off-by: Dave Kleikamp
02 Oct, 2006
1 commit
-
Removed trailing spaces & tabs, and spaces preceding tabs.
Also a couple very minor comment cleanups.Signed-off-by: Dave Kleikamp
(cherry picked from f74156539964d7b3d5164fdf8848e6a682f75b97 commit)
01 Oct, 2006
1 commit
-
Conversion of booleans to: generic-boolean.patch (2006-08-23)
Signed-off-by: Richard Knutsson
Cc: Dave Kleikamp
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Jul, 2006
1 commit
-
jfs_quota_read/write are very near duplicates of ext2_quota_read/write.
Cleaned up jfs_get_block as long as I had to change it to be non-static.
Signed-off-by: Dave Kleikamp
29 Jun, 2006
1 commit
-
Same as with already do with the file operations: keep them in .rodata and
prevents people from doing runtime patching.Signed-off-by: Christoph Hellwig
Cc: Steven French
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Mar, 2006
2 commits
-
Now that get_block() can handle mapping multiple disk blocks, no need to have
->get_blocks(). This patch removes fs specific ->get_blocks() added for DIO
and makes it users use get_block() instead.Signed-off-by: Badari Pulavarty
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch changes mpage_readpages() and get_block() to get the disk mapping
information for multiple blocks at the same time.b_size represents the amount of disk mapping that needs to mapped. On the
successful get_block() b_size indicates the amount of disk mapping thats
actually mapped. Only the filesystems who care to use this information and
provide multiple disk blocks at a time can choose to do so.No changes are needed for the filesystems who wants to ignore this.
[akpm@osdl.org: cleanups]
Signed-off-by: Badari Pulavarty
Cc: Mingming Cao
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 Feb, 2006
1 commit
-
ext2 inode attributes with relevance for jfs:
'a' EXT2_APPEND_FL -> append only
'i' EXT2_IMMUTABLE_FL -> immutable file
's' EXT2_SECRM_FL -> zero file
'u' EXT2_UNRM_FL -> allow for unrm
'A' EXT2_NOATIME_FL -> no access time
'D' EXT2_DIRSYNC_FL -> dirsync
'S' EXT2_SYNC_FL -> syncoverview of jfs flags (partially for OS/2)
value (OS/2) Linux ext2 attrs
------------------------------------------------
0x00010000 IFJOURNAL -
0x00020000 ISPARSE used
0x00040000 INLINEEA used
0x00080000 - - JFS_NOATIME_FL0x00100000 - - JFS_DIRSYNC_FL
0x00200000 - - JFS_SYNC_FL
0x00400000 - - JFS_SECRM_FL
0x00800000 ISWAPFILE - JFS_UNRM_FL0x01000000 - - JFS_APPEND_FL
0x02000000 IREADONLY - JFS_IMMUTABLE_FL
0x04000000 IHIDDEN - -
0x08000000 ISYSTEM - -0x10000000 - -
0x20000000 IDIRECTORY used
0x40000000 IARCHIVE -
0x80000000 INEWNAME -the implementation is straight forward, except
for the fact that the attributes have to be mapped
to match with the ext2 ones to avoid a separate
tool for manipulating them (this could be avoided
when using a separate flag field in the on-disk
representation, but the overhead is minimal)a special jfs_ioctl is added to allow for the new
JFS_IOC_GETFLAGS and JFS_IOC_SETFLAGS calls.a helper function jfs_set_inode_flags() to transfer
the flags from the on-disk version to the inodeminor changes to allow flag inheritance on inode
creation, as well as a cleanup of the on-disk
flags (including the new ones)beforementioned helper to map between ext2 and jfs
versions of the new flags ...the JFS_SECRM_FL and JFS_UNRM_FL are not done yet
and I'm not 100% sure they are worth the effort,
the rest seems to work out of the box ...Signed-off-by: Herbert Poetzl
Signed-off-by: Dave Kleikamp
25 Jan, 2006
1 commit
-
the conversion was generated via scripts, and the result was validated
automatically via a script as well.build and boot tested.
Signed-off-by: Ingo Molnar
Signed-off-by: Dave Kleikamp
16 Sep, 2005
1 commit
-
The fix in inode.c is a real bug. It could result in undeleted, yet
unconnected files on big-endian hardware.The others are trivial.
Signed-off-by: Dave Kleikamp
12 Sep, 2005
1 commit
-
Clash due to new delete_inode behavior (the filesystem now needs to do
the truncate_inode_pages() call itself).Signed-off-by: Linus Torvalds
10 Sep, 2005
1 commit
-
Update the file systems in fs/ implementing a delete_inode() callback to
call truncate_inode_pages(). One implementation note: In developing this
patch I put the calls to truncate_inode_pages() at the very top of those
filesystems delete_inode() callbacks in order to retain the previous
behavior. I'm guessing that some of those could probably be optimized.Signed-off-by: Mark Fasheh
Acked-by: Christoph Hellwig
Signed-off-by: Hugh Dickins
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
31 Aug, 2005
1 commit
-
Signed-off-by: Dave Kleikamp
02 Aug, 2005
1 commit
-
Some error paths may iput an invalid inode with i_nlink=0. jfs should
not try to actually delete such an inode.Signed-off-by: Dave Kleikamp
05 May, 2005
1 commit
-
Signed-off-by: Dave Kleikamp
03 May, 2005
2 commits
-
Modify xtSearch so that it returns the next allocated block when the
requested block is unmapped. This can be used to make sure we don't
create a new extent that overlaps the next one.Signed-off-by: Dave Kleikamp
Signed-off-by: Linus Torvalds -
jfs has never worked on architecutures where the page size was not 4K.
Signed-off-by: Dave Kleikamp
Signed-off-by: Linus Torvalds
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!