summaryrefslogtreecommitdiffstats
path: root/fs/cifs
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] kfree cleanup: fsJesper Juhl2005-11-075-92/+45
| | | | | | | | | | This is the fs/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in fs/. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [CIFS] Change pragma pack(1) to attribute(packed) to allow cifs on arm to accessSteve French2005-10-273-186/+182
| | | | | | | | | | | | | | | | | unaligned structures coming in off the wire gcc on arm processors generates very odd code with pragma pack specified - although it does pack the structures in some sense - it does not allow you to access unaligned elements in nested structures at the right offset as other architectures do. Oddly enough though, specifying the structures as packed the long way - one by one with the packed attribute does work. Rather than fighting over whether this is a gcc bug or some obscure side effect of pragma pack, it is easier to do what most (all but 96 other places in the kernel) do - and replace pragma pack with dozens of attribute(packed) structure qualifiers. Much more verbose ... but at least it works. Signed-off-by: David Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com> CG: -----------------------------------------------------------------------
* Merge with /pub/scm/linux/kernel/git/sfrench/cifs-2.6.git/Steve French2005-10-2124-545/+2266
|\
| * [CIFS] Defer close of file handle slightly if there are pending writes thatSteve French2005-10-205-25/+73
| | | | | | | | | | | | | | | | need to get in ahead of it that depend on that file handle. Fixes occassional bad file handle errors on write with heavy use multiple process cases. Signed-off-by: Steve French <sfrench@us.ibm.com>
| * CIFS: cifs_writepages should not write beyond end of fileSteve French2005-10-121-2/+13
| | | | | | | | | | Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [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)
| * [CIFS] Add support for legacy servers part 5Steve French2005-08-315-137/+39
| | | | | | | | | | | | | | Handle small negotiated read sizes (under 4K) and finish up read and write support. Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Add support for legacy servers part 4Steve French2005-08-303-23/+72
| | | | | | | | | | | | | | Fix WriteX support for old servers which do not support large files. Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Add nolock synonym (ala nfs) for nobrl to disable sending byte rangeSteve French2005-08-301-1/+2
| | | | | | | | | | | | locks remotely. Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add support for suspendSteve French2005-08-303-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | cifsd had been preventing software suspend from completing. Signed-off-by: pavel@suse.de Signed-off-by: Steve French <sfrench@us.ibm.com> lightly modified --- fs/cifs/CHANGES | 3 ++- fs/cifs/cifsfs.c | 4 ++++ fs/cifs/connect.c | 2 ++ 3 files changed, 8 insertions(+), 1 deletions(-)
| * Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.gitSteve French2005-08-301-1/+1
| |\
| * | [CIFS] Remove cifs_sb argument from *build_path_from_dentrySteve French2005-08-308-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | This argument was added in a recent patch, but is unnecessary, since the superblock is easily obtained from the dentry. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
| * | [CIFS] Support for legacy servers part 3 - Add support for Open and mostSteve French2005-08-245-2/+330
| | | | | | | | | | | | | | | | | | of Read support. Signed-off-by: Steve French <sfrench@us.ibm.com>
| * | [CIFS] Use file instead of dentry in cifs dir_notify structSteve French2005-08-241-1/+1
| | | | | | | | | | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
| * | [CIFS] Change notify support part 3Steve French2005-08-244-8/+12
| | | | | | | | | | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
| * | [CIFS] Missing line from previous patchSteve French2005-08-241-0/+1
| | | | | | | | | | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
| * | [CIFS] Change notify support part 2Steve French2005-08-243-0/+34
| | | | | | | | | | | | | | | Signed-off-by: Asser Ferno <asser@diku.dk> Signed-off-by: Steve French <sfrench@us.ibm.com> and lightly modified
| * | [CIFS] Update thanks/contributor list with Miklos SzerediSteve French2005-08-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | (Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> also should have been listed on the last cifs patch fixing some lookup intent handling in cifs) Signed-off-by: Steve French <sfrench@us.ibm.com>
| * | CIFS: Fix typos in fs/cifs/CHANGESSteve French2005-08-241-8/+8
| | | | | | | | | | | | | | | Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
| * | CIFS: Reduce CONFIG_CIFS_STATS ifdefsSteve French2005-08-244-96/+58
| | | | | | | | | | | | | | | | | | | | | | | | Make cifs_stats code conditional in the header files to avoid ifdefs in the main code. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
| * | [CIFS] Support for mounting to older servers part 2. Add support forSteve French2005-08-236-3/+96
| | | | | | | | | | | | | | | | | | legacy getattr (lookup). Signed-off-by: Steve French (sfrench@us.ibm.com)
| * | [CIFS] Support for mounting to older, pre-CIFS servers added. ThisSteve French2005-08-223-12/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allows specifying an RFC1001 target "called" name (netbios name of the server, which can now be pecified as mount option "servernetbiosname" but will eventually be passed in automatically on retry of host down error messages caused when server refuses to handle default server name and can not handle port 445). This is an important step, but additional testing and fixup is needed to add remaining function needed for these. Signed-off-by: Steve French (sfrench@us.ibm.com)
| * | [CIFS] Finish up of case-insensitive dentry handling for cifs. ThisSteve French2005-08-225-6/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | will eventually (or should eventually) be common code for jfs, smbfs, etc. but in the meantime is small enough and necessary when mounting case insensitive to Windows (nocase). Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com)
| * | [CIFS] Make CIFS statistics more accurate and add some stats that wereSteve French2005-08-205-55/+91
| | | | | | | | | | | | | | | | | | missing. Most importantly SMB reads were undercounted. Signed-off-by: Steve French (sfrench@us.ibm.com)
OpenPOWER on IntegriCloud