> We brought up this specific issue a few weeks ago in this thread:Thanks for the info. 1) I pulled the devel branch of nfs-2.6.git and tested the same setup, with exactly the same result as previously. 2) then I added your patch on top of that, which did change something but not really for the better: now even the restarted lock request doesn't succeed after the interrupt. According to my suspicion, this is an issue in the server, while both referenced patches touch only the client. Appended little test program which I'm trying out locking with. Miklos --- #include <unistd.h> #include <fcntl.h> #include <stdio.h> #include <signal.h> static void int_handler(int s) { (void) s; fprintf(stderr, "signal caught\n"); } int main(int argc, char *argv[]) { char *filename = argv[1]; int res; int fd; if (argc != 2) { fprintf(stderr, "usage: %s filename\n", argv[0]); return 1; } signal(SIGINT, int_handler); fd = open(filename, O_RDWR | O_CREAT, 0666); if (fd == -1) { perror("open"); return 1; } res = lockf(fd, F_LOCK, 100); if (res == -1) { perror("lockf"); return 1; } printf("locked\n"); pause(); return 0; } -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Michał Kudła | [2.6.26-rc5] iwlwifi 4965 not working - last on 2.6.23 |
| monstr | [PATCH 52/60] microblaze_v4: fcntl.h sockios.h ucontext.h |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Nick Piggin | [rfc] no ZERO_PAGE? |
git: | |
| Patrick Altman | Git Library? |
| Jakub Narebski | Re: [RFC] origin link for cherry-pick and revert |
| Avery Pennarun | [bug] Segfault in git rev-list --first-parent --bisect |
| skimo | [PATCH 16/22] unpack-trees.c: optionally clone submodules for later checkout |
| Richard Stallman | Real men don't attack straw men |
| Marco Peereboom | Re: Real men don't attack straw men |
| James Hartley | scp batch mode? |
| Brandon Lee | DELL PERC 5iR slow performance |
| Julius Volz | [PATCH RFC 13/24] IPVS: Add IPv6 support to ip_vs_conn_hashkey() |
| Christopher Snook | RFC: Nagle latency tuning |
| David Miller | Re: [PATCH 10/11] [IPSEC]: Disallow combinations of RO and AH/ESP/IPCOMP |
| Jeff Kirsher | [RESEND][NET-NEXT PATCH 04/29] ixgbe: Update watchdog thread to accomodate longerl... |
