- 15 Oct, 2002 27 commits
-
-
Stephen Lord authored
Switch xfs from using a big endian internal representation for the in memory copy of extents to a host byte order representation. The internal extents are read in once, then modified seperately from the on disk ones. Since we search and manipulate the extents multiple times, it is cheaper to convert them to host byte order once and then keep them in that format. Worth about 5 to 10% reduction in cpu time for some loads. Complicated by the fact that the in memory extents are written out to the log sometimes, and when expanding extents are used to write out the initial block of extents. Modid: 2.5.x-xfs:slinx:129646a
-
Stephen Lord authored
(has been there a couple of years at least) Modid: 2.5.x-xfs:slinx:128918a
-
Stephen Lord authored
Modid: 2.5.x-xfs:slinx:128887a
-
Stephen Lord authored
Modid: 2.5.x-xfs:slinx:128653a
-
Eric Sandeen authored
Modid: 2.5.x-xfs:slinx:129660a
-
Nathan Scott authored
Modid: 2.5.x-xfs:slinx:129574a
-
Nathan Scott authored
Modid: 2.5.x-xfs:slinx:129466a
-
Stephen Lord authored
Modid: 2.5.x-xfs:slinx:129340a
-
Christoph Hellwig authored
Modid: 2.5.x-xfs:slinx:129315a
-
Christoph Hellwig authored
Modid: 2.5.x-xfs:slinx:129236a
-
Christoph Hellwig authored
Modid: 2.5.x-xfs:slinx:129234a
-
Nathan Scott authored
Symlinks are created by default with mode 777 now, old behavior is still accessible through sysctl through. Irixsgid mount option eprecated and it too is still accessible through sysctl. Modid: 2.5.x-xfs:slinx:129282a
-
Eric Sandeen authored
Modid: 2.5.x-xfs:slinx:129235a
-
Eric Sandeen authored
Modid: 2.5.x-xfs:slinx:129160a
-
Eric Sandeen authored
Modid: 2.5.x-xfs:slinx:129155a
-
Eric Sandeen authored
Modid: 2.5.x-xfs:slinx:129132a
-
Eric Sandeen authored
Modid: 2.5.x-xfs:slinx:129120a
-
Stephen Lord authored
Modid: 2.5.x-xfs:slinx:129128a
-
Stephen Lord authored
Modid: 2.5.x-xfs:slinx:129126a
-
Eric Sandeen authored
Modid: 2.5.x-xfs:slinx:129117a
-
Stephen Lord authored
Modid: 2.5.x-xfs:slinx:129109a
-
Stephen Lord authored
Modid: 2.5.x-xfs:slinx:129079a
-
Eric Sandeen authored
Modid: 2.5.x-xfs:slinx:129049a
-
Stephen Lord authored
Modid: 2.5.x-xfs:slinx:128998a
-
Stephen Lord authored
This is a two fold change, first it moves the translation between linux dev_t and kdev_t up the call stack in xfs and makes the bulk of xfs work in terms of its on disk dev_t format. It also cleans up a few related chunks of code. The other part of the change reworks how we keep the linux inode contents and the xfs inode fields in sync. A number of places where we resynced the two have been removed, these were basically replicating work elsewhere in the filesystem. We now also ensure that the inode fields are filled in before calling unlock_new_inode - there used to be a window. Finally all the code which hooks together the linux inode and the xfs inode is brought together as a more coherent whole rather than being cattered around the inode create path. Most calls to revalidate the linux inode from the xfs inode are removed. Modid: 2.5.x-xfs:slinx:128899a 10/02/02
-
Christoph Hellwig authored
Modid: 2.5.x-xfs:slinx:128913a
-
Eric Sandeen authored
Modid: 2.5.x-xfs:slinx:128905a
-
- 14 Oct, 2002 5 commits
-
-
Christoph Hellwig authored
Modid: 2.5.x-xfs:slinx:128787a
-
Christoph Hellwig authored
Modid: 2.5.x-xfs:slinx:128691a
-
Christoph Hellwig authored
Modid: 2.5.x-xfs:slinx:128659a
-
Christoph Hellwig authored
Modid: 2.5.x-xfs:slinx:128581a
-
Christoph Hellwig authored
Modid: 2.5.x-xfs:slinx:128571a
-
- 13 Oct, 2002 8 commits
-
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andrew Morton authored
This patch from Christoph Hellwig removes the kiobuf/kiovec infrastructure. This affects three subsystems: video-buf.c: This patch includes an earlier diff from Gerd which converts video-buf.c to use get_user_pages() directly. Gerd has acked this patch. LVM1: Is now even more broken. drivers/mtd/devices/blkmtd.c: blkmtd is broken by this change. I contacted Simon Evans, who said "I had done a rewrite of blkmtd anyway and just need to convert it to BIO. Feel free to break it in the 2.5 tree, it will force me to finish my code." Neither EVMS nor LVM2 use kiobufs. The only remaining breakage of which I am aware is a proprietary MPEG2 streaming module. It could use get_user_pages().
-
Andrew Morton authored
From Anton Blanchard. This fixes a couple of Linux Test Project failures. - Returns EBUSY if the caller is trying to invalidate memory which is covered by a locked vma. The open group say: [EBUSY] Some or all of the addresses in the range starting at addr and continuing for len bytes are locked, and MS_INVALIDATE is specified. - Returns EINVAL if the caller specified both MS_SYNC and MS_ASYNC [EINVAL] The value of flags is invalid. and: "Either MS_ASYNC or MS_SYNC is specified, but not both."
-
Andrew Morton authored
CONFIG_LBD was initially hardwired to "on" for testing. That seems to have gone OK, so now make it configurable.
-
Andrew Morton authored
From Bill Irwin: ensure that the data structures which hold the node's zone structures is all zeroed before we start using it.
-
Andrew Morton authored
If you're peforming 512-byte sized IOs. With, say, dd of=/dev/raw/raw1 bs=512 then the `pgpgin' and `pgpgout' accounting just sits on zero. This is because it counts in kbytes, and 512/1024 is zero. So change it to count sectors, and divide that by two when we report it to userspace.
-
Andrew Morton authored
From Ed Tomlinson, then mauled by yours truly. The current shrinking of the dentry, inode and dquot caches seems to work OK, but it is slightly CPU-inefficient: we call the shrinking functions many times, for tiny numbers of objects. So here, we just batch that up - shrinking happens at the same rate but we perform it in larger units of work. To do this, we need a way of knowing how many objects are currently in use by individual caches. slab does not actually track this information, but the existing shrinkable caches do have this on hand. So rather than adding the counters to slab, we require that the shrinker callback functions keep their own count - we query that via the callback. We add a simple registration API which is exported to modules. A subsystem may register its own callback function via set_shrinker(). set_shrinker() simply takes a function pointer. The function is called with int (*shrinker)(int nr_to_shrink, unsigned int gfp_mask); The shrinker callback must scan `nr_to_scan' objects and free all freeable scanned objects. Note: it doesn't have to *free* `nr_to_scan' objects. It need only scan that many. Which is a fairly pedantic detail, really. The shrinker callback must return the number of objects which are in its cache at the end of the scanning attempt. It will be called with nr_to_scan == 0 when we're just querying the cache size. The set_shrinker() registration API is passed a hint as to how many disk seeks a single cache object is worth. Everything uses "2" at present. I saw no need to add the traditional `here is my void *data' to the registration/callback. Because there is a one-to-one relationship between caches and their shrinkers. Various cleanups became possible: - shrink_icache_memory() is no longer exported to modules. - shrink_icache_memory() is now static to fs/inode.c - prune_icache() is now static to fs/inode.c, and made inline (single caller) - shrink_dcache_memory() is made static to fs/dcache.c - prune_dcache() is no longer exported to modules - prune_dcache() is made static to fs/dcache.c - shrink_dqcache_memory() is made static to fs/dquot.c - All the quota init code has been moved from fs/dcache.c into fs/dquot.c - All modifications to inodes_stat.nr_inodes are now inside inode_lock - the dispose_list one was racy.
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/gregkh-2.5
-