aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2005-10-28Merge branch 'master'Jeff Garzik91-522/+1221
2005-10-28Merge branch 'upstream' of ↵Linus Torvalds2-41/+113
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
2005-10-28Merge branch 'upstream' of ↵Linus Torvalds13-179/+684
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
2005-10-28Merge branch 'elevator-switch' of git://brick.kernel.dk/data/git/linux-2.6-blockLinus Torvalds1-6/+4
Manual fixup for trivial "gfp_t" changes.
2005-10-28Merge branch 'generic-dispatch' of ↵Linus Torvalds2-13/+31
git://brick.kernel.dk/data/git/linux-2.6-block
2005-10-28Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-blockLinus Torvalds1-1/+1
2005-10-28Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.15Linus Torvalds2-2/+2
2005-10-28[PATCH] gfp_t: the restAl Viro2-4/+5
zone handling, mapping->flags handling Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: remaining bits of drivers/*Al Viro2-3/+3
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: remaining bits of arch/*Al Viro1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: soundAl Viro1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: drivers/scsiAl Viro2-2/+2
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: kernel/*Al Viro2-3/+3
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: drivers/usbAl Viro2-10/+10
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (simple cases)Al Viro6-6/+6
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (xtensa)Al Viro1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (amd64)Al Viro1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (sh)Al Viro2-3/+3
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (ppc)Al Viro1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (parisc)Al Viro1-4/+4
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (mips)Al Viro1-2/+2
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (frv)Al Viro2-2/+2
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (cris)Al Viro1-2/+2
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (alpha)Al Viro1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (ia64)Al Viro2-2/+2
... and related annotations for amd64 - swiotlb code is shared, but prototypes are not. Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: dma-mapping (arm)Al Viro1-2/+2
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: block layer coreAl Viro2-9/+9
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: fs/*Al Viro6-7/+7
- ->releasepage() annotated (s/int/gfp_t), instances updated - missing gfp_t in fs/* added - fixed misannotation from the original sweep caught by bitwise checks: XFS used __nocast both for gfp_t and for flags used by XFS allocator. The latter left with unsigned int __nocast; we might want to add a different type for those but for now let's leave them alone. That, BTW, is a case when __nocast use had been actively confusing - it had been used in the same code for two different and similar types, with no way to catch misuses. Switch of gfp_t to bitwise had caught that immediately... One tricky bit is left alone to be dealt with later - mapping->flags is a mix of gfp_t and error indications. Left alone for now. Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: net/*Al Viro2-2/+2
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: lib/*Al Viro4-5/+5
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: mm/* (easy parts)Al Viro4-7/+7
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[PATCH] gfp_t: infrastructureAl Viro2-21/+27
Beginning of gfp_t annotations: - -Wbitwise added to CHECKFLAGS - old __bitwise renamed to __bitwise__ - __bitwise defined to either __bitwise__ or nothing, depending on __CHECK_ENDIAN__ being defined - gfp_t switched from __nocast to __bitwise__ - force cast to gfp_t added to __GFP_... constants - new helper - gfp_zone(); extracts zone bits out of gfp_t value and casts the result to int Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-28[BLOCK] elevator switch fixes/cleanupJens Axboe1-1/+1
- 100msec sleep is a little excessive, lots of requests can complete in that timeframe. Use 10msec instead. - Rename QUEUE_FLAG_BYPASS to QUEUE_FLAG_ELVSWITCH to indicate what is going on. Signed-off-by: Jens Axboe <[email protected]>
2005-10-28[BLOCK] Reimplement elevator switchTejun Heo1-6/+4
This patch reimplements elevator switch. This patch assumes generic dispatch queue patchset is applied. * Each request is tagged with REQ_ELVPRIV flag if it has its elevator private data set. * Requests which doesn't have REQ_ELVPRIV flag set never enter iosched. They are always directly back inserted to dispatch queue. Of course, elevator_put_req_fn is called only for requests which have its REQ_ELVPRIV set. * Request queue maintains the current number of requests which have its elevator data set (elevator_set_req_fn called) in q->rq->elvpriv. * If a request queue has QUEUE_FLAG_BYPASS set, elevator private data is not allocated for new requests. To switch to another iosched, we set QUEUE_FLAG_BYPASS and wait until elvpriv goes to zero; then, we attach the new iosched and clears QUEUE_FLAG_BYPASS. New implementation is much simpler and main code paths are less cluttered, IMHO. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
2005-10-28[BLOCK] kill generic max_back_kb handlingTejun Heo1-1/+0
This patch kills max_back_kb handling from elv_dispatch_sort() and kills max_back_kb field from struct request_queue. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
2005-10-28[PATCH] 03/05 move last_merge handlin into generic elevator codeTejun Heo1-0/+3
Currently, both generic elevator code and specific ioscheds participate in the management and usage of last_merge. This and the following patches move last_merge handling into generic elevator code. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
2005-10-28[PATCH] generic dispatch fixesJens Axboe2-2/+15
- Split elv_dispatch_insert() into two functions - Rename rq_last_sector() to rq_end_sector() Signed-off-by: Jens Axboe <[email protected]>
2005-10-28[PATCH] 01/05 Implement generic dispatch queueTejun Heo2-15/+18
Implements generic dispatch queue which can replace all dispatch queues implemented by each iosched. This reduces code duplication, eases enforcing semantics over dispatch queue, and simplifies specific ioscheds. Signed-off-by: Tejun Heo <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
2005-10-28[patch] remove gendisk->stamp_idle fieldChen, Kenneth W1-1/+1
struct gendisk has these two fields: stamp, stamp_idle. Update to stamp_idle is always in sync with stamp and they are always the same. Therefore, it does not add any value in having two fields tracking same timestamp. Suggest to remove it. Also, we should only update gendisk stats with non-zero value. Advantage is that we don't have to needlessly calculate memory address, and then add zero to the content. Signed-off-by: Ken Chen <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
2005-10-27Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6Trond Myklebust1-3/+3
2005-10-27NFSv4: Add post-op attributes to NFSv4 write and commit callbacks.Trond Myklebust1-0/+2
Signed-off-by: Trond Myklebust <[email protected]>
2005-10-27NFSv4: Add post-op attributes to nfs4_proc_remove()Trond Myklebust1-0/+7
Signed-off-by: Trond Myklebust <[email protected]>
2005-10-27NFSv4: Add post-op attributes to nfs4_proc_rename()Trond Myklebust1-0/+4
Signed-off-by: Trond Myklebust <[email protected]>
2005-10-27NFSv4: Add post-op attributes to nfs4_proc_link()Trond Myklebust1-0/+9
Optimise attribute revalidation when hardlinking. Add post-op attributes for the directory and the original inode. Signed-off-by: Trond Myklebust <[email protected]>
2005-10-27NFS: Add optional post-op getattr instruction to the NFSv4 file close.Trond Myklebust1-0/+3
"Optional" means that the close call will not fail if the getattr at the end of the compound fails. If it does succeed, try to refresh inode attributes. Signed-off-by: Trond Myklebust <[email protected]>
2005-10-27NFSv4: Add directory post-op attributes to the CREATE operations.Trond Myklebust1-0/+2
Since the directory attributes change every time we CREATE a file, we might as well pick up the new directory attributes in the same compound. Signed-off-by: Trond Myklebust <[email protected]>
2005-10-27NFS: Don't let nfs_end_data_update() clobber attribute update informationTrond Myklebust1-5/+10
Since we almost always call nfs_end_data_update() after we called nfs_refresh_inode(), we now end up marking the inode metadata as needing revalidation immediately after having updated it. This patch rearranges things so that we mark the inode as needing revalidation _before_ we call nfs_refresh_inode() on those operations that need it. Signed-off-by: Trond Myklebust <[email protected]>
2005-10-27NFS: Optimise inode attribute cache updatesTrond Myklebust2-1/+3
Allow nfs_refresh_inode() also to update attributes on the inode if the RPC call was sent after the last call to nfs_update_inode(). Signed-off-by: Trond Myklebust <[email protected]>
2005-10-27NFS: Convert cache_change_attribute into a jiffy-based valueTrond Myklebust1-1/+1
Signed-off-by: Trond Myklebust <[email protected]>
2005-10-27NFS: Cleanup initialisation of struct nfs_fattrTrond Myklebust1-0/+5
Signed-off-by: Trond Myklebust <[email protected]>