summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [CIFS] Add null malloc response check in notify experimental codeSteve French2005-10-112-14/+20
| | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] CIFS Stats improvementsSteve French2005-10-119-8/+98
| | | | | | New cifs_writepages routine was not updated bytes written in cifs stats. Also added ability to clear /proc/fs/cifs/Stats by writing (0 or 1) to it. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix oops in experimental notify code (when CONFIG_CIFS_EXPERIMENTALSteve French2005-10-104-1/+12
| | | | | | was turned on). Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Still missing a line from previous fixSteve French2005-10-101-1/+1
| | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Fix minor build problem with previous changesetSteve French2005-10-101-5/+8
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Do not shrink tcp sndbuf/rcvbuf from their defaultsSteve French2005-10-101-8/+10
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Correct cifs tcp retry when some data sent before getting EAGAIN.Steve French2005-10-102-2/+20
| | | | | | | Continue implementation of cifs umount begin to allow force unmounts of cifs mounts. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Update cifs version to 1.38Steve French2005-10-101-1/+1
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix byte range locking to Windows when Windows server returnsSteve French2005-10-104-12/+32
| | | | | illegal RFC1001 length (which had caused the lock to block forever until killed).
* [CIFS] Fix rsize calculation so that large readx flag is checked.Steve French2005-10-103-8/+28
| | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Reduce CIFS tcp congestion timeout (it was too long) and backoffSteve French2005-10-103-11/+22
| | | | | | | ever longer amounts (up to 15 seconds). This improves performance especially when using large wsize. Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] /proc/fs/cifs debug code cleanup and new stats2Steve French2005-10-073-5/+41
| | | | | | | These changes to debug code and new stats are helpful in debugging potential tcp performance/configuration problems under cifs. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] cleanup sparse and compile errors in previous fixSteve French2005-10-052-4/+3
| | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
* CIFS: Allow wsize to exceed CIFSMaxBufSizeSteve French2005-10-053-16/+10
| | | | | | | | This allows cifs_writepages to send data in larger chunks from the page cache, without requiring larger memory allocations in other cases. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
* CIFS: implement cifs_writepages to perform multi-page I/OSteve French2005-10-052-11/+190
| | | | | Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
* CIFS: Create routine find_writable_file to reduce redundant codeSteve French2005-10-053-119/+50
| | | | | Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Missing parenthesis from error message in previous fixSteve French2005-10-031-1/+1
| | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Allow SMBWrite2 to work to older serversSteve French2005-10-031-7/+22
| | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Add writepages support to shrink memory usage on writes,Steve French2005-10-035-72/+89
| | | | | | | | | | eliminate the double copy, and improve cifs write performance and help the server by upping the typical write size from 4K to 16K (or even larger if wsize set explicitly) for servers which support this. Part 1 of 2 Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Various minor bigendian fixes and sparse level 2 warning message fixesSteve French2005-09-228-33/+60
| | | | | | | Most important of these fixes mapchars on bigendian and a few statfs fields Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Add support for legacy servers part nine. statfs (df and du) is nowSteve French2005-09-217-10/+107
| | | | | | | | functional, and the length check is fixed so readdir does not throw a warning message when windows me messes up the response to FindFirst of an empty dir (with only . and ..). Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Add support for legacy servers part eight. Write fixes for WindowsSteve French2005-09-204-31/+66
| | | | | | | | ME, and do not set ctime unless explicitly requested with atime and/or mtime (it gets thrown away by most servers anyway as there is no way to set this via posix). Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Add support for legacy servers part seven. Fix open for write,Steve French2005-09-182-4/+21
| | | | | | | begin implementation of Win9x style set file size via open then write of zero bytes. Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Add support for legacy servers part six. Fix read syntax soSteve French2005-09-151-0/+7
| | | | | | | we do not request more than negotiated buffer size even if buffer size is small (smaller than one page) Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Fix readdir caching when unlink removes file in current searchSteve French2005-09-153-6/+38
| | | | | | | buffer, and this is followed by a rewind search to just before the deleted entry. Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Fix compiler warningsSteve French2005-09-154-5/+6
| | | | | | Fix some compiler warnings noticed on x64 by me and ppc64 by Shaggy Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Update cifs TODO list with additional new features thatSteve French2005-09-061-17/+31
| | | | | | have been requested. Signed-off-by: Steve French (sfrench@us.ibm.com)
* Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.gitSteve French2005-09-061339-27882/+69980
|\
| * Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/ppc64-2.6 Linus Torvalds2005-09-0656-1240/+699
| |\
| | * [PATCH] remove linux/version.h include from arch/ppc64Olaf Hering2005-09-065-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changing CONFIG_LOCALVERSION rebuilds too much, for no apparent reason. Use system_utsname for progress and debug header. Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] Invert sense of SLB class bitDavid Gibson2005-09-064-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we set the class bit in kernel SLB entries, and clear it on user SLB entries. On POWER5, ERAT entries created in real mode have the class bit clear. So to avoid flushing kernel ERAT entries on each context switch, this patch inverts our usage of the class bit, setting it on user SLB entries and clearing it on kernel SLB entries. Booted on POWER5 and G5. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Fix build with oprofile disabledAnton Blanchard2005-09-061-0/+26
| | | | | | | | | | | | | | | | | | | | | Fix build with oprofile disabled. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Move oprofile_model into cpu feature structAnton Blanchard2005-09-063-37/+23
| | | | | | | | | | | | | | | | | | | | | Move oprofile_model into cpu feature struct. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Move oprofile_impl.h into include/asm-ppc64Anton Blanchard2005-09-064-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | Move oprofile_impl.h into include/asm-ppc64 in preparation for moving oprofile_model into cpu feature struct. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Add oprofile cpu_type to cpu feature structAnton Blanchard2005-09-063-5/+17
| | | | | | | | | | | | | | | | | | | | | Add oprofile cpu_type to cpu feature struct. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Use num_pmcs in oprofile codeAnton Blanchard2005-09-062-11/+5
| | | | | | | | | | | | | | | | | | | | | Change oprofile to use num_pmcs from the cpu feature struct. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: remove CPU_FTR_PMC8Anton Blanchard2005-09-062-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | Remove the CPU_FTR_PMC8 feature now we encode the number of PMCs directly. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: add number of PMCs to cputableAnton Blanchard2005-09-063-19/+45
| | | | | | | | | | | | | | | | | | | | | Add a field in the cputable struct to store the number of PMCs. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Allow world readable /proc/ppc64/lparcfgWim Coekaerts2005-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I would like to be able to read the lparcfg data from any user so we can make "intelligent" decisions based on underlying attributes when running in lpars. Yes there's software that likes to do this :) and runs as non-root. It's very similar to say VM where you can get CP to provide feedback of the real hardware inside a VM guest. Signed-off-by: Wim Coekaerts <wim.coekaerts@oracle.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: remove use of asm/segment.hKumar Gala2005-09-061-1/+0
| | | | | | | | | | | | | | | | | | | | | Removed PPC64 architecture specific users of asm/segment.h. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc/ppc64: Merge more include filesJon Loeliger2005-09-0618-307/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch merges several include files from asm-ppc and asm-ppc64 into the new asm-powerpc. Signed-off-by: Jon Loeliger <jdl@freescale.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] Move 3 more headers to asm-powerpcBecky Bruce2005-09-066-472/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Merged several nearly-identical header files from asm-ppc and asm-ppc64 into asm-powerpc. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Becky Bruce <becky.bruce@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: speedup cmpxchgAnton Blanchard2005-09-061-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmpxchg has the following code: __typeof__(*(ptr)) _o_ = (o); __typeof__(*(ptr)) _n_ = (n); Unfortunately it makes gcc 4.0 store and load the variables to the stack. Eg in atomic_dec_and_test we get: stw r10,112(r1) stw r9,116(r1) lwz r9,112(r1) lwz r0,116(r1) x86 is just casting the values so do that instead. Also change __xchg* and __cmpxchg* to take unsigned values, removing a few sign extensions. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: poison initmemAnton Blanchard2005-09-061-0/+1
| | | | | | | | | | | | | | | | | | | | | Poison initmem after we free it so we catch use after free issues. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: systemcfg is now a pointerJimi Xenidis2005-09-061-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch fixes 2 issues: 1) use PLATFORM_LPAR bit to test if running in LPAR mode 2) systemcfg pointer is assigned from static data in arch/ppc64/kernel/pacaData.c. The file arch/ppc64/kernel/head.S now refers to is using the GOT binding to the pointer and hence must deref it. Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Consolidate early console and PPCDBG codeMilton Miller2005-09-063-39/+50
| | | | | | | | | | | | | | | | | | | | | | | | Consolidate the early console and PPCDBG code in udbg.c Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Remove old includesMilton Miller2005-09-063-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | Trim some no longer needed includes from udbg.c and friends. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Take udbg out of ppc_mdMilton Miller2005-09-069-58/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | Take udbg out of ppc_md. Allows us to not overwrite early udbg inits when assigning ppc_md. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Split SCC and 15550 udbg codeMilton Miller2005-09-064-227/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | Split scc and 15550 functions from udbg each into their own file. This makes them more symetric with the lpar and btext code. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
| | * [PATCH] ppc64: Make udbg_init_uart set the ppc_md udbg methods.Milton Miller2005-09-063-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | make udbg_init_uart set the ppc_md udbg methods. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
OpenPOWER on IntegriCloud